]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 8 Jul 2016 02:25:44 +0000 (19:25 -0700)
commitb515c45ba9172657efec343ea4e8c0c76a864763
tree920111f98fdabc1b93e96b2cd759bffb5a02493c
parent6b1d3886811afe081a1a82e1b95f5fde60cd3dfa
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>
Signed-off-by: Jitendra Bhivare <jitendra.bhivare@broadcom.com>
Orabug: 23712824
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/scsi/be2iscsi/be_main.c