Skip to content
Commit 46a4bf13 authored by Bart Van Assche's avatar Bart Van Assche Committed by Greg Kroah-Hartman
Browse files

scsi: qla2xxx: Use scsi_cmd_to_rq() instead of scsi_cmnd.request

[ Upstream commit c7d6b2c2

 ]

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-39-bvanassche@acm.org
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Stable-dep-of: 19597cad

 ("scsi: qla2xxx: Fix system crash due to bad pointer access")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b19fe82b
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