aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorJohn Garry <[email protected]>2022-01-31 11:13:27 +0000
committerMartin K. Petersen <[email protected]>2022-01-31 21:50:59 +0000
commitc763ec4c10f78678d6d4415646237f07109a5a5f (patch)
tree6d386dbf0a3d832297717d0bdf153fc11fcd3eb0 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentscsi: pm8001: Fix use-after-free for aborted SSP/STP sas_task (diff)
downloadkernel-c763ec4c10f78678d6d4415646237f07109a5a5f.tar.gz
kernel-c763ec4c10f78678d6d4415646237f07109a5a5f.zip
scsi: hisi_sas: Fix setting of hisi_sas_slot.is_internal
The hisi_sas_slot.is_internal member is not set properly for ATA commands which the driver sends directly. A TMF struct pointer is normally used as a test to set this, but it is NULL for those commands. It's not ideal, but pass an empty TMF struct to set that member properly. Link: https://lore.kernel.org/r/[email protected] Fixes: dc313f6b125b ("scsi: hisi_sas: Factor out task prep and delivery code") Reported-by: Xiang Chen <[email protected]> Signed-off-by: John Garry <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions