]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
b43legacy: Fix sparse warnings
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 10 Dec 2008 05:35:41 +0000 (23:35 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 12 Dec 2008 19:02:08 +0000 (14:02 -0500)
commitd8004cb9267b15cd902eef01a75bb1ffa3995af8
tree20d548f9c29aa68d9ff531ac79e6a8d04fcae60e
parentc1db52b9d27ee6e15a7136e67e4a21dc916cd07f
b43legacy: Fix sparse warnings

Sparse yields the following warnings for b43legacy:

  CHECK   drivers/net/wireless/b43legacy/phy.c
drivers/net/wireless/b43legacy/phy.c:1304:31: warning: potentially expensive pointer subtraction
drivers/net/wireless/b43legacy/phy.c:1304:31: warning: potentially expensive pointer subtraction
drivers/net/wireless/b43legacy/phy.c:1304:31: warning: potentially expensive pointer subtraction
  CHECK   drivers/net/wireless/b43legacy/debugfs.c
drivers/net/wireless/b43legacy/debugfs.c:243:9: warning: memset with byte count of 131072

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43legacy/debugfs.c
drivers/net/wireless/b43legacy/phy.c