]> git.baikalelectronics.ru Git - kernel.git/commit
p54spi: fix potential null deref in p54spi.c
authorDan Carpenter <error27@gmail.com>
Sun, 19 Jul 2009 19:26:13 +0000 (21:26 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 21 Jul 2009 19:59:48 +0000 (15:59 -0400)
commit8f707872b5e5318e50d22afc5e6f70fa22fc4e70
tree57408c184ab84083a634475bd0e002f692d777f0
parent0ae4e3e5b7e5465498f799c89978bf156ceb1d94
p54spi: fix potential null deref in p54spi.c

Fix a potential NULL dereference bug during
error handling in p54spi_probe.

This bug was discovered by smatch:
(http://repo.or.cz/w/smatch.git).

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54spi.c