Commit f50e7605 authored by Hannes Reinecke's avatar Hannes Reinecke Committed by Martin K. Petersen

scsi: csiostor: drop serial_number usage

Use request tag instead of the serial number when printing out logging
messages.
Signed-off-by: default avatarHannes Reinecke <hare@suse.com>
Reviewed-by: default avatarBart Van Assche <bvanassche@acm.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 7df158ce
...@@ -1984,15 +1984,15 @@ csio_eh_abort_handler(struct scsi_cmnd *cmnd) ...@@ -1984,15 +1984,15 @@ csio_eh_abort_handler(struct scsi_cmnd *cmnd)
/* FW successfully aborted the request */ /* FW successfully aborted the request */
if (host_byte(cmnd->result) == DID_REQUEUE) { if (host_byte(cmnd->result) == DID_REQUEUE) {
csio_info(hw, 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->device->id, cmnd->device->lun,
cmnd->serial_number); cmnd->request->tag);
return SUCCESS; return SUCCESS;
} else { } else {
csio_info(hw, 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->device->id, cmnd->device->lun,
cmnd->serial_number); cmnd->request->tag);
return FAILED; return FAILED;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment