diff options
author | Bart Van Assche <bvanassche@acm.org> | 2021-08-09 16:03:34 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-08-11 22:25:40 -0400 |
commit | ce425dd7dbc9a35ebd6016ca03beb5736cf96fa2 (patch) | |
tree | 575fc61721beed3668739e5ef6d01a2e0cc8cb15 /drivers/scsi/mvumi.c | |
parent | 24b3c922bc8318dda1047d79489d77596f39eee7 (diff) | |
download | lwn-ce425dd7dbc9a35ebd6016ca03beb5736cf96fa2.tar.gz lwn-ce425dd7dbc9a35ebd6016ca03beb5736cf96fa2.zip |
scsi: mvumi: Use scsi_cmd_to_rq() instead of scsi_cmnd.request
Prepare for removal of the request pointer by using scsi_cmd_to_rq()
instead. This patch does not change any functionality.
Link: https://lore.kernel.org/r/20210809230355.8186-32-bvanassche@acm.org
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mvumi.c')
-rw-r--r-- | drivers/scsi/mvumi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/mvumi.c b/drivers/scsi/mvumi.c index 6bb03d7a254d..4d251bf630a3 100644 --- a/drivers/scsi/mvumi.c +++ b/drivers/scsi/mvumi.c @@ -702,7 +702,7 @@ static int mvumi_host_reset(struct scsi_cmnd *scmd) mhba = (struct mvumi_hba *) scmd->device->host->hostdata; scmd_printk(KERN_NOTICE, scmd, "RESET -%u cmd=%x retries=%x\n", - scmd->request->tag, scmd->cmnd[0], scmd->retries); + scsi_cmd_to_rq(scmd)->tag, scmd->cmnd[0], scmd->retries); return mhba->instancet->reset_host(mhba); } |