]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[SCSI] qla2xxx: Fail initialization if unable to load RISC code.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Wed, 22 Aug 2012 18:21:19 +0000 (14:21 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 24 Sep 2012 08:10:51 +0000 (12:10 +0400)
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>
drivers/scsi/qla2xxx/qla_init.c

index 9b5e392a1e82883313ed39e2394626eca3cf2847..f4bbf1cee6b7295b7fc94479021a4d40c757fba7 100644 (file)
@@ -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. */