From: Hannes Reinecke <[email protected]>

Use request tag instead of the serial number when printing out
logging messages.

Signed-off-by: Hannes Reinecke <[email protected]>
---
 drivers/scsi/csiostor/csio_scsi.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/scsi/csiostor/csio_scsi.c 
b/drivers/scsi/csiostor/csio_scsi.c
index bc5547a62c00..462560b2855e 100644
--- a/drivers/scsi/csiostor/csio_scsi.c
+++ b/drivers/scsi/csiostor/csio_scsi.c
@@ -1984,15 +1984,15 @@ csio_eh_abort_handler(struct scsi_cmnd *cmnd)
        /* FW successfully aborted the request */
        if (host_byte(cmnd->result) == DID_REQUEUE) {
                csio_info(hw,
-                       "Aborted SCSI command to (%d:%llu) serial#:0x%lx\n",
+                       "Aborted SCSI command to (%d:%llu) tag %u\n",
                        cmnd->device->id, cmnd->device->lun,
-                       cmnd->serial_number);
+                       cmnd->request->tag);
                return SUCCESS;
        } else {
                csio_info(hw,
-                       "Failed to abort SCSI command, (%d:%llu) 
serial#:0x%lx\n",
+                       "Failed to abort SCSI command, (%d:%llu) tag %u\n",
                        cmnd->device->id, cmnd->device->lun,
-                       cmnd->serial_number);
+                       cmnd->request->tag);
                return FAILED;
        }
 }
-- 
2.16.4

Reply via email to