From: Andrew Vasquez Date: Wed, 22 Aug 2012 18:21:19 +0000 (-0400) Subject: [SCSI] qla2xxx: Fail initialization if unable to load RISC code. X-Git-Tag: next-20120917~76^2^2~17 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c8b1df40de52b144c9074f93db2e9417f495516f;p=karo-tx-linux.git [SCSI] qla2xxx: Fail initialization if unable to load RISC code. Signed-off-by: Andrew Vasquez Signed-off-by: Chad Dupuis Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 470ee5156a07..f9d39b070cb1 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c @@ -1561,7 +1561,8 @@ enable_82xx_npiv: "ISP Firmware failed checksum.\n"); goto failed; } - } + } else + goto failed; if (!IS_FWI2_CAPABLE(ha) && !IS_QLA2100(ha) && !IS_QLA2200(ha)) { /* Enable proper parity. */