aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
diff options
context:
space:
mode:
authorLeon Romanovsky <[email protected]>2024-07-24 10:31:14 +0000
committerKeith Busch <[email protected]>2024-07-25 14:20:54 +0000
commitc31fad1470389666ac7169fe43aa65bf5b7e2cfd (patch)
treec2980209a5830fbfc9d5025d5d5c409cf3ac7fbf /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
parentnvme-core: choose PIF from QPIF if QPIFS supports and PIF is QTYPE (diff)
downloadkernel-c31fad1470389666ac7169fe43aa65bf5b7e2cfd.tar.gz
kernel-c31fad1470389666ac7169fe43aa65bf5b7e2cfd.zip
nvme-pci: add missing condition check for existence of mapped data
nvme_map_data() is called when request has physical segments, hence the nvme_unmap_data() should have same condition to avoid dereference. Fixes: 4aedb705437f ("nvme-pci: split metadata handling from nvme_map_data / nvme_unmap_data") Signed-off-by: Leon Romanovsky <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Nitesh Shetty <[email protected]> Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions