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

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: 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 470d19e2
...@@ -717,8 +717,8 @@ static int mvumi_host_reset(struct scsi_cmnd *scmd) ...@@ -717,8 +717,8 @@ static int mvumi_host_reset(struct scsi_cmnd *scmd)
mhba = (struct mvumi_hba *) scmd->device->host->hostdata; mhba = (struct mvumi_hba *) scmd->device->host->hostdata;
scmd_printk(KERN_NOTICE, scmd, "RESET -%ld cmd=%x retries=%x\n", scmd_printk(KERN_NOTICE, scmd, "RESET -%u cmd=%x retries=%x\n",
scmd->serial_number, scmd->cmnd[0], scmd->retries); scmd->request->tag, scmd->cmnd[0], scmd->retries);
return mhba->instancet->reset_host(mhba); return mhba->instancet->reset_host(mhba);
} }
...@@ -2103,7 +2103,6 @@ static int mvumi_queue_command(struct Scsi_Host *shost, ...@@ -2103,7 +2103,6 @@ static int mvumi_queue_command(struct Scsi_Host *shost,
unsigned long irq_flags; unsigned long irq_flags;
spin_lock_irqsave(shost->host_lock, irq_flags); spin_lock_irqsave(shost->host_lock, irq_flags);
scsi_cmd_get_serial(shost, scmd);
mhba = (struct mvumi_hba *) shost->hostdata; mhba = (struct mvumi_hba *) shost->hostdata;
scmd->result = 0; scmd->result = 0;
......
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