aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-01-20 08:35:01 +0000
committerChristoph Hellwig <[email protected]>2021-01-20 17:56:33 +0000
commitfa0732168fa1369dd089e5b06d6158a68229f7b7 (patch)
tree3c7970231b1ffd86791daf4d0bee1ab34299e2f3 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentnvme-pci: refactor nvme_unmap_data (diff)
downloadkernel-fa0732168fa1369dd089e5b06d6158a68229f7b7.tar.gz
kernel-fa0732168fa1369dd089e5b06d6158a68229f7b7.zip
nvme-pci: fix error unwind in nvme_map_data
Properly unwind step by step using refactored helpers from nvme_unmap_data to avoid a potential double dma_unmap on a mapping failure. Fixes: 7fe07d14f71f ("nvme-pci: merge nvme_free_iod into nvme_unmap_data") Reported-by: Marc Orr <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Keith Busch <[email protected]> Reviewed-by: Marc Orr <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions