aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
diff options
context:
space:
mode:
authorZou Wei <[email protected]>2021-05-18 12:35:02 +0000
committerDaniel Vetter <[email protected]>2021-05-20 20:09:46 +0000
commitea8c9ed53f871ac90659fe519c85b8f10a51677d (patch)
tree273692b9ff13348eef9a011e27f90b773999c1dc /drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
parentvgaarb: Use ACPI HID name to find integrated GPU (diff)
downloadkernel-ea8c9ed53f871ac90659fe519c85b8f10a51677d.tar.gz
kernel-ea8c9ed53f871ac90659fe519c85b8f10a51677d.zip
drm: Fix missing unlock and free on error in drm_legacy_addbufs_pci()
Add the missing unlock and free before return from function drm_legacy_addbufs_pci() in the error handling case. Fixes: 70556e24e18e ("drm: remove usage of drm_pci_alloc/free") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Zou Wei <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c')
0 files changed, 0 insertions, 0 deletions