From: Peter Hagervall Date: Wed, 10 Aug 2005 21:18:16 +0000 (-0700) Subject: [BNX2]: Possible sparse fixes, take two X-Git-Tag: v2.6.14-rc1~1035^2~113 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14ab9b867aa6c107b4886bdc5b23f277ab10792e;p=pandora-kernel.git [BNX2]: Possible sparse fixes, take two 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 readl/writel Signed-off-by: Peter Hagervall Acked-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed