be2iscsi:Add missing error check in beiscsi_eeh_resume
authorNicholas Krause <xerofoify@gmail.com>
Sat, 27 Feb 2016 17:43:25 +0000 (12:43 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 1 Mar 2016 02:06:31 +0000 (21:06 -0500)
commitc6fff3226edaa28c9e33d954dcafad926446a083
tree6bc459477fca29aa7716b8b49fc31c55039b2d44
parenteac00c8aa8a5e1dacaaa8ecc1d604a735851287d
be2iscsi:Add missing error check in beiscsi_eeh_resume

This adds the missing error check and path for if the call to the
function hwi_init_controller fails as this error path was clearly missed
when writing beiscsi_eeh_resume and thus we must add it now in order to
be able to handle this nonrecoverable failing function call gracefully
in beiscsi_eeh_resume.

Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
Reviewed-by: Jitendra Bhivare <jitendra.bhivare@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/be2iscsi/be_main.c