diff options
author | Hannes Reinecke <hare@suse.com> | 2019-02-26 15:56:41 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-02-27 09:19:24 -0500 |
commit | f50e76052321cc49f9d49fe444c3d3806f223dc3 (patch) | |
tree | 2743ad5efa533c1d7bc6efc3dac6f908670873ca /drivers/scsi/csiostor/csio_scsi.c | |
parent | 7df158ce6541e60e5ac063d7b032407f9394a230 (diff) | |
download | linux-stable-f50e76052321cc49f9d49fe444c3d3806f223dc3.tar.gz linux-stable-f50e76052321cc49f9d49fe444c3d3806f223dc3.tar.bz2 linux-stable-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/csiostor/csio_scsi.c')
-rw-r--r-- | drivers/scsi/csiostor/csio_scsi.c | 8 |
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; } } |