]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] bcm43xx: Add error checking in bcm43xx_sprom_write()
authorAdrian Bunk <bunk@stusta.de>
Mon, 6 Nov 2006 15:48:48 +0000 (09:48 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 8 Nov 2006 01:05:07 +0000 (20:05 -0500)
commitb0693ba182596cda15849ed02af492d37453980c
tree5cee591e7595fcbd18b832a35c7f553cd06cc299
parent129bd2e64c19a9197f7c8283b81ed13641c0ca1a
[PATCH] bcm43xx: Add error checking in bcm43xx_sprom_write()

The Coverity checker noted that these "if (err)"'s couldn't ever be
true.

It seems the intention was to check the return values of the
bcm43xx_pci_write_config32()'s?

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/bcm43xx/bcm43xx_main.c