[SCSI] be2iscsi: fix null dereference on error path
authorDan Carpenter <error27@gmail.com>
Thu, 10 Jun 2010 07:53:05 +0000 (09:53 +0200)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 27 Jul 2010 17:01:41 +0000 (12:01 -0500)
commit82284c09c5dc5c5a5046f3c852f2683dab60109c
treeaaafb7f4401fc980efe13affa29212971a0a6702
parent1462b8ffd9a9e4798d4e0f9eaadbd1ac0373a11b
[SCSI] be2iscsi: fix null dereference on error path

"phba" is always null here so we can't dereference it.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/be2iscsi/be_main.c