aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>2012-02-27 06:08:57 -0500
committerJames Bottomley <JBottomley@Parallels.com>2012-02-29 18:02:10 -0500
commit3573bfb2306b58b88adccaf95fa310c53d392903 (patch)
treea8e6dc53ea60ffdb9b67a87c6267ca067c2bd9ca /drivers/scsi
parenta7380a65312c98317aab70df6512c620369c2f19 (diff)
[SCSI] qla4xxx: trivial cleanup
1. Do not initialise globals to 0 2. Fix wrong spelling in debug message 3. Modified debug log messages Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/qla4xxx/ql4_mbx.c2
-rw-r--r--drivers/scsi/qla4xxx/ql4_os.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_mbx.c b/drivers/scsi/qla4xxx/ql4_mbx.c
index b2d336c236c0..7ac21dabbf22 100644
--- a/drivers/scsi/qla4xxx/ql4_mbx.c
+++ b/drivers/scsi/qla4xxx/ql4_mbx.c
@@ -622,7 +622,7 @@ int qla4xxx_get_firmware_status(struct scsi_qla_host * ha)
622 return QLA_ERROR; 622 return QLA_ERROR;
623 } 623 }
624 624
625 ql4_printk(KERN_INFO, ha, "%ld firmare IOCBs available (%d).\n", 625 ql4_printk(KERN_INFO, ha, "%ld firmware IOCBs available (%d).\n",
626 ha->host_no, mbox_sts[2]); 626 ha->host_no, mbox_sts[2]);
627 627
628 return QLA_SUCCESS; 628 return QLA_SUCCESS;
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c
index d1520ad3ae6a..281328dd9347 100644
--- a/drivers/scsi/qla4xxx/ql4_os.c
+++ b/drivers/scsi/qla4xxx/ql4_os.c
@@ -39,7 +39,7 @@ MODULE_PARM_DESC(ql4xdisablesysfsboot,
39 "\t\t 0 - Export boot targets\n" 39 "\t\t 0 - Export boot targets\n"
40 "\t\t 1 - Do not export boot targets (Default)"); 40 "\t\t 1 - Do not export boot targets (Default)");
41 41
42int ql4xdontresethba = 0; 42int ql4xdontresethba;
43module_param(ql4xdontresethba, int, S_IRUGO | S_IWUSR); 43module_param(ql4xdontresethba, int, S_IRUGO | S_IWUSR);
44MODULE_PARM_DESC(ql4xdontresethba, 44MODULE_PARM_DESC(ql4xdontresethba,
45 " Don't reset the HBA for driver recovery.\n" 45 " Don't reset the HBA for driver recovery.\n"
@@ -71,7 +71,7 @@ MODULE_PARM_DESC(ql4xmaxqdepth,
71static int ql4xsess_recovery_tmo = QL4_SESS_RECOVERY_TMO; 71static int ql4xsess_recovery_tmo = QL4_SESS_RECOVERY_TMO;
72module_param(ql4xsess_recovery_tmo, int, S_IRUGO); 72module_param(ql4xsess_recovery_tmo, int, S_IRUGO);
73MODULE_PARM_DESC(ql4xsess_recovery_tmo, 73MODULE_PARM_DESC(ql4xsess_recovery_tmo,
74 "Target Session Recovery Timeout.\n" 74 " Target Session Recovery Timeout.\n"
75 "\t\t Default: 120 sec."); 75 "\t\t Default: 120 sec.");
76 76
77static int qla4xxx_wait_for_hba_online(struct scsi_qla_host *ha); 77static int qla4xxx_wait_for_hba_online(struct scsi_qla_host *ha);
@@ -5033,8 +5033,8 @@ static int __devinit qla4xxx_probe_adapter(struct pci_dev *pdev,
5033 ha->patch_number, ha->build_number); 5033 ha->patch_number, ha->build_number);
5034 5034
5035 if (qla4xxx_setup_boot_info(ha)) 5035 if (qla4xxx_setup_boot_info(ha))
5036 ql4_printk(KERN_ERR, ha, "%s:ISCSI boot info setup failed\n", 5036 ql4_printk(KERN_ERR, ha,
5037 __func__); 5037 "%s: No iSCSI boot target configured\n", __func__);
5038 5038
5039 /* Perform the build ddb list and login to each */ 5039 /* Perform the build ddb list and login to each */
5040 qla4xxx_build_ddb_list(ha, INIT_ADAPTER); 5040 qla4xxx_build_ddb_list(ha, INIT_ADAPTER);