summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.com>2019-02-26 15:56:41 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2019-02-27 09:19:24 -0500
commitf50e76052321cc49f9d49fe444c3d3806f223dc3 (patch)
tree2743ad5efa533c1d7bc6efc3dac6f908670873ca /drivers/scsi
parent7df158ce6541e60e5ac063d7b032407f9394a230 (diff)
downloadlinux-f50e76052321cc49f9d49fe444c3d3806f223dc3.tar.gz
linux-f50e76052321cc49f9d49fe444c3d3806f223dc3.tar.bz2
linux-f50e76052321cc49f9d49fe444c3d3806f223dc3.zip
scsi: csiostor: drop serial_number usage
Use request tag instead of the serial number when printing out logging messages. Signed-off-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/csiostor/csio_scsi.c8
1 files 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 @@ inval_scmnd:
/* 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;
}
}