mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-21 06:24:12 +00:00
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>
This commit is contained in:
parent
7df158ce65
commit
f50e760523
1 changed files with 4 additions and 4 deletions
|
@ -1984,15 +1984,15 @@ inval_scmnd:
|
||||||
/* 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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue