Re: [PATCH] drivers/net/bnx2.c Possible sparse fixes, take two

2005-08-10 Thread David S. Miller
From: Peter Hagervall <[EMAIL PROTECTED]> Date: Tue, 9 Aug 2005 09:49:10 +0200 > This patch contains the following possible cleanups/fixes: Applied to net-2.6.14, thanks. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordo

[PATCH] drivers/net/bnx2.c Possible sparse fixes, take two

2005-08-09 Thread Peter Hagervall
This patch contains the following possible cleanups/fixes: - use C99 struct initializers - make a few arrays and structs static - remove a few uses of literal 0 as NULL pointer - use convenience function instead of cast+dereference in bnx2_ioctl() - remove superfluous casts to u8 * in calls to rea