[SCSI] ibmmca: fix a NULL pointer dereference
authorAdrian Bunk <bunk@stusta.de>
Fri, 10 Mar 2006 22:24:47 +0000 (23:24 +0100)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 12 Mar 2006 15:46:11 +0000 (09:46 -0600)
commita6becb084d4beb0b0c83651541f5b53f6da01e36
treedf88f32a2874731289c094c556ea19257eea65d7
parentc3c026ba5a16867af47578ab2030ef51f9080084
[SCSI] ibmmca: fix a NULL pointer dereference

The variable was dereferenced only if it was NULL (sic)...

Spotted by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/ibmmca.c