[SCSI] qla2xxx: Make the logging functions verify their arguments and fixed the curre...
[deliverable/linux.git] / drivers / scsi / qla2xxx / qla_init.c
index f03e915f187729f6b208a0e89398b2a0b8642214..68cd0dd528df1e4bac06b05d8ce308cf72fd431d 100644 (file)
@@ -1509,7 +1509,8 @@ enable_82xx_npiv:
                                    &ha->fw_xcb_count, NULL, NULL,
                                    &ha->max_npiv_vports, NULL);
 
-                               if (!fw_major_version && ql2xallocfwdump)
+                               if (!fw_major_version && ql2xallocfwdump
+                                   && !IS_QLA82XX(ha))
                                        qla2x00_alloc_fw_dump(vha);
                        }
                } else {
@@ -4187,7 +4188,8 @@ qla2x00_abort_isp(scsi_qla_host_t *vha)
                spin_unlock_irqrestore(&ha->vport_slock, flags);
 
        } else {
-               ql_log(ql_log_warn, vha, 0x8023, "%s **** FAILED ****.\n");
+               ql_log(ql_log_warn, vha, 0x8023, "%s **** FAILED ****.\n",
+                      __func__);
        }
 
        return(status);
This page took 0.02522 seconds and 5 git commands to generate.