aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorZhengchao Shao <[email protected]>2022-12-02 09:38:49 +0000
committerGreg Kroah-Hartman <[email protected]>2022-12-02 16:48:04 +0000
commitd7237462561fcd224fa687c56ccb68629f50fc0d (patch)
tree160f71ecb3e313b7f80925e2b762e592c3378508 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentMerge tag 'icc-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/djak... (diff)
downloadkernel-d7237462561fcd224fa687c56ccb68629f50fc0d.tar.gz
kernel-d7237462561fcd224fa687c56ccb68629f50fc0d.zip
drivers: mcb: fix resource leak in mcb_probe()
When probe hook function failed in mcb_probe(), it doesn't put the device. Compiled test only. Fixes: 7bc364097a89 ("mcb: Acquire reference to device in probe") Signed-off-by: Zhengchao Shao <[email protected]> Signed-off-by: Johannes Thumshirn <[email protected]> Link: https://lore.kernel.org/r/9f87de36bfb85158b506cb78c6fc9db3f6a3bad1.1669624063.git.johannes.thumshirn@wdc.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions