aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
diff options
context:
space:
mode:
authorEric Auger <[email protected]>2019-04-30 07:30:04 +0000
committerJoerg Roedel <[email protected]>2019-05-03 15:34:27 +0000
commitdca4d60f5f8c9263f8f66724fa4750abd32d8db0 (patch)
treec846f7437df8d84baa27998fda454fb457ec1150 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
parentiommu/vt-d: Make kernel parameter igfx_off work with vIOMMU (diff)
downloadkernel-dca4d60f5f8c9263f8f66724fa4750abd32d8db0.tar.gz
kernel-dca4d60f5f8c9263f8f66724fa4750abd32d8db0.zip
iommu/vt-d: Fix leak in intel_pasid_alloc_table on error path
If alloc_pages_node() fails, pasid_table is leaked. Free it. Fixes: cc580e41260db ("iommu/vt-d: Per PCI device pasid table interfaces") Signed-off-by: Eric Auger <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions