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)
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>

No differences found