[SCSI] qla4xxx: Update print statements in func qla4xxx_eh_abort()
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>
Mon, 16 Dec 2013 11:49:50 +0000 (06:49 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:19:16 +0000 (10:19 -0700)
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>
drivers/scsi/qla4xxx/ql4_os.c

index 9a6310293e72d61bddfd672ec8e90711fd102a04..7126c978b61370a9d60ef67811837e64476446d2 100644 (file)
@@ -9232,14 +9232,15 @@ static int qla4xxx_eh_abort(struct scsi_cmnd *cmd)
        int ret = SUCCESS;
        int wait = 0;
 
-       ql4_printk(KERN_INFO, ha,
-           "scsi%ld:%d:%d: Abort command issued cmd=%p\n",
-           ha->host_no, id, lun, cmd);
+       ql4_printk(KERN_INFO, ha, "scsi%ld:%d:%d: Abort command issued cmd=%p, cdb=0x%x\n",
+                  ha->host_no, id, lun, cmd, cmd->cmnd[0]);
 
        spin_lock_irqsave(&ha->hardware_lock, flags);
        srb = (struct srb *) CMD_SP(cmd);
        if (!srb) {
                spin_unlock_irqrestore(&ha->hardware_lock, flags);
+               ql4_printk(KERN_INFO, ha, "scsi%ld:%d:%d: Specified command has already completed.\n",
+                          ha->host_no, id, lun);
                return SUCCESS;
        }
        kref_get(&srb->srb_ref);