diff options
author | Hannes Reinecke <hare@suse.com> | 2019-02-26 09:56:40 -0500 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-02-27 09:19:24 -0500 |
commit | 7df158ce6541e60e5ac063d7b032407f9394a230 (patch) | |
tree | a703ea004a5d1d200cab274c74e7db3f41c22239 /drivers/scsi | |
parent | 470d19e202f02cbf47e85f619232889fd80397e5 (diff) |
scsi: mvumi: use request tag instead of serial_number
Use the request tag for logging instead of the scsi command serial number.
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/mvumi.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/mvumi.c b/drivers/scsi/mvumi.c index dbe753fba486..00a76db911ab 100644 --- a/drivers/scsi/mvumi.c +++ b/drivers/scsi/mvumi.c | |||
@@ -717,8 +717,8 @@ static int mvumi_host_reset(struct scsi_cmnd *scmd) | |||
717 | 717 | ||
718 | mhba = (struct mvumi_hba *) scmd->device->host->hostdata; | 718 | mhba = (struct mvumi_hba *) scmd->device->host->hostdata; |
719 | 719 | ||
720 | scmd_printk(KERN_NOTICE, scmd, "RESET -%ld cmd=%x retries=%x\n", | 720 | scmd_printk(KERN_NOTICE, scmd, "RESET -%u cmd=%x retries=%x\n", |
721 | scmd->serial_number, scmd->cmnd[0], scmd->retries); | 721 | scmd->request->tag, scmd->cmnd[0], scmd->retries); |
722 | 722 | ||
723 | return mhba->instancet->reset_host(mhba); | 723 | return mhba->instancet->reset_host(mhba); |
724 | } | 724 | } |
@@ -2103,7 +2103,6 @@ static int mvumi_queue_command(struct Scsi_Host *shost, | |||
2103 | unsigned long irq_flags; | 2103 | unsigned long irq_flags; |
2104 | 2104 | ||
2105 | spin_lock_irqsave(shost->host_lock, irq_flags); | 2105 | spin_lock_irqsave(shost->host_lock, irq_flags); |
2106 | scsi_cmd_get_serial(shost, scmd); | ||
2107 | 2106 | ||
2108 | mhba = (struct mvumi_hba *) shost->hostdata; | 2107 | mhba = (struct mvumi_hba *) shost->hostdata; |
2109 | scmd->result = 0; | 2108 | scmd->result = 0; |