diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2012-08-22 14:21:19 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-09-24 04:10:51 -0400 |
commit | c74d88a46865a9c4f14a40ec1ae88e34f38da7a7 (patch) | |
tree | a2bc77d17fa6a0f76d8127f5a7b27bd27589060f | |
parent | 58570ac5355f95a2554dee9ca36b0f9c3d401fb5 (diff) |
[SCSI] qla2xxx: Fail initialization if unable to load RISC code.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rw-r--r-- | drivers/scsi/qla2xxx/qla_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 9b5e392a1e82..f4bbf1cee6b7 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c | |||
@@ -1561,7 +1561,8 @@ enable_82xx_npiv: | |||
1561 | "ISP Firmware failed checksum.\n"); | 1561 | "ISP Firmware failed checksum.\n"); |
1562 | goto failed; | 1562 | goto failed; |
1563 | } | 1563 | } |
1564 | } | 1564 | } else |
1565 | goto failed; | ||
1565 | 1566 | ||
1566 | if (!IS_FWI2_CAPABLE(ha) && !IS_QLA2100(ha) && !IS_QLA2200(ha)) { | 1567 | if (!IS_FWI2_CAPABLE(ha) && !IS_QLA2100(ha) && !IS_QLA2200(ha)) { |
1567 | /* Enable proper parity. */ | 1568 | /* Enable proper parity. */ |