aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla4xxx
diff options
context:
space:
mode:
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>2013-12-16 06:49:50 -0500
committerJames Bottomley <JBottomley@Parallels.com>2014-03-15 13:19:16 -0400
commit63c9e8142f405bbb51413c9f91121e409ecdd186 (patch)
tree5fd350699f32d5bc4e7c0c60be40fbf690c16036 /drivers/scsi/qla4xxx
parentb1f5df3bcdd893d30b732ca746d3f0c3f6f66078 (diff)
[SCSI] qla4xxx: Update print statements in func qla4xxx_eh_abort()
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/qla4xxx')
-rw-r--r--drivers/scsi/qla4xxx/ql4_os.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c
index 9a6310293e72..7126c978b613 100644
--- a/drivers/scsi/qla4xxx/ql4_os.c
+++ b/drivers/scsi/qla4xxx/ql4_os.c
@@ -9232,14 +9232,15 @@ static int qla4xxx_eh_abort(struct scsi_cmnd *cmd)
9232 int ret = SUCCESS; 9232 int ret = SUCCESS;
9233 int wait = 0; 9233 int wait = 0;
9234 9234
9235 ql4_printk(KERN_INFO, ha, 9235 ql4_printk(KERN_INFO, ha, "scsi%ld:%d:%d: Abort command issued cmd=%p, cdb=0x%x\n",
9236 "scsi%ld:%d:%d: Abort command issued cmd=%p\n", 9236 ha->host_no, id, lun, cmd, cmd->cmnd[0]);
9237 ha->host_no, id, lun, cmd);
9238 9237
9239 spin_lock_irqsave(&ha->hardware_lock, flags); 9238 spin_lock_irqsave(&ha->hardware_lock, flags);
9240 srb = (struct srb *) CMD_SP(cmd); 9239 srb = (struct srb *) CMD_SP(cmd);
9241 if (!srb) { 9240 if (!srb) {
9242 spin_unlock_irqrestore(&ha->hardware_lock, flags); 9241 spin_unlock_irqrestore(&ha->hardware_lock, flags);
9242 ql4_printk(KERN_INFO, ha, "scsi%ld:%d:%d: Specified command has already completed.\n",
9243 ha->host_no, id, lun);
9243 return SUCCESS; 9244 return SUCCESS;
9244 } 9245 }
9245 kref_get(&srb->srb_ref); 9246 kref_get(&srb->srb_ref);