scsi: qla2xxx: Fix typo in driver
Signed-off-by: Milan P Gandhi <mgandhi@redhat.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
44a5b97712
commit
5a68a1c29f
@ -695,7 +695,7 @@ qla2x00_sysfs_write_reset(struct file *filp, struct kobject *kobj,
|
|||||||
case 0x2025e:
|
case 0x2025e:
|
||||||
if (!IS_P3P_TYPE(ha) || vha != base_vha) {
|
if (!IS_P3P_TYPE(ha) || vha != base_vha) {
|
||||||
ql_log(ql_log_info, vha, 0x7071,
|
ql_log(ql_log_info, vha, 0x7071,
|
||||||
"FCoE ctx reset no supported.\n");
|
"FCoE ctx reset not supported.\n");
|
||||||
return -EPERM;
|
return -EPERM;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1822,7 +1822,7 @@ qla24xx_process_bidir_cmd(struct bsg_job *bsg_job)
|
|||||||
/* Check if operating mode is P2P */
|
/* Check if operating mode is P2P */
|
||||||
if (ha->operating_mode != P2P) {
|
if (ha->operating_mode != P2P) {
|
||||||
ql_log(ql_log_warn, vha, 0x70a4,
|
ql_log(ql_log_warn, vha, 0x70a4,
|
||||||
"Host is operating mode is not P2p\n");
|
"Host operating mode is not P2p\n");
|
||||||
rval = EXT_STATUS_INVALID_CFG;
|
rval = EXT_STATUS_INVALID_CFG;
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
@ -144,7 +144,7 @@ qla2x00_chk_ms_status(scsi_qla_host_t *vha, ms_iocb_entry_t *ms_pkt,
|
|||||||
if (ct_rsp->header.response !=
|
if (ct_rsp->header.response !=
|
||||||
cpu_to_be16(CT_ACCEPT_RESPONSE)) {
|
cpu_to_be16(CT_ACCEPT_RESPONSE)) {
|
||||||
ql_dbg(ql_dbg_disc + ql_dbg_buffer, vha, 0x2077,
|
ql_dbg(ql_dbg_disc + ql_dbg_buffer, vha, 0x2077,
|
||||||
"%s failed rejected request on port_id: %02x%02x%02x Compeltion status 0x%x, response 0x%x\n",
|
"%s failed rejected request on port_id: %02x%02x%02x Completion status 0x%x, response 0x%x\n",
|
||||||
routine, vha->d_id.b.domain,
|
routine, vha->d_id.b.domain,
|
||||||
vha->d_id.b.area, vha->d_id.b.al_pa,
|
vha->d_id.b.area, vha->d_id.b.al_pa,
|
||||||
comp_status, ct_rsp->header.response);
|
comp_status, ct_rsp->header.response);
|
||||||
|
@ -2323,7 +2323,7 @@ qla2x00_chip_diag(scsi_qla_host_t *vha)
|
|||||||
goto chip_diag_failed;
|
goto chip_diag_failed;
|
||||||
|
|
||||||
/* Check product ID of chip */
|
/* Check product ID of chip */
|
||||||
ql_dbg(ql_dbg_init, vha, 0x007d, "Checking product Id of chip.\n");
|
ql_dbg(ql_dbg_init, vha, 0x007d, "Checking product ID of chip.\n");
|
||||||
|
|
||||||
mb[1] = RD_MAILBOX_REG(ha, reg, 1);
|
mb[1] = RD_MAILBOX_REG(ha, reg, 1);
|
||||||
mb[2] = RD_MAILBOX_REG(ha, reg, 2);
|
mb[2] = RD_MAILBOX_REG(ha, reg, 2);
|
||||||
|
@ -2075,14 +2075,14 @@ qla25xx_process_bidir_status_iocb(scsi_qla_host_t *vha, void *pkt,
|
|||||||
|
|
||||||
case CS_DATA_OVERRUN:
|
case CS_DATA_OVERRUN:
|
||||||
ql_dbg(ql_dbg_user, vha, 0x70b1,
|
ql_dbg(ql_dbg_user, vha, 0x70b1,
|
||||||
"Command completed with date overrun thread_id=%d\n",
|
"Command completed with data overrun thread_id=%d\n",
|
||||||
thread_id);
|
thread_id);
|
||||||
rval = EXT_STATUS_DATA_OVERRUN;
|
rval = EXT_STATUS_DATA_OVERRUN;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CS_DATA_UNDERRUN:
|
case CS_DATA_UNDERRUN:
|
||||||
ql_dbg(ql_dbg_user, vha, 0x70b2,
|
ql_dbg(ql_dbg_user, vha, 0x70b2,
|
||||||
"Command completed with date underrun thread_id=%d\n",
|
"Command completed with data underrun thread_id=%d\n",
|
||||||
thread_id);
|
thread_id);
|
||||||
rval = EXT_STATUS_DATA_UNDERRUN;
|
rval = EXT_STATUS_DATA_UNDERRUN;
|
||||||
break;
|
break;
|
||||||
@ -2109,7 +2109,7 @@ qla25xx_process_bidir_status_iocb(scsi_qla_host_t *vha, void *pkt,
|
|||||||
|
|
||||||
case CS_BIDIR_RD_UNDERRUN:
|
case CS_BIDIR_RD_UNDERRUN:
|
||||||
ql_dbg(ql_dbg_user, vha, 0x70b6,
|
ql_dbg(ql_dbg_user, vha, 0x70b6,
|
||||||
"Command completed with read data data underrun "
|
"Command completed with read data underrun "
|
||||||
"thread_id=%d\n", thread_id);
|
"thread_id=%d\n", thread_id);
|
||||||
rval = EXT_STATUS_DATA_UNDERRUN;
|
rval = EXT_STATUS_DATA_UNDERRUN;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user