aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2025-03-19 03:23:04 +0000
committerMark Brown <[email protected]>2025-03-19 12:47:50 +0000
commit176fda56d72a267731f82aa4a3aeca430394f10e (patch)
treed7cff8d6e5e18cc9ec1b74d5580ce98b54969e49 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentLinux 6.14-rc7 (diff)
downloadkernel-176fda56d72a267731f82aa4a3aeca430394f10e.tar.gz
kernel-176fda56d72a267731f82aa4a3aeca430394f10e.zip
spi: Fix reference count leak in slave_show()
Fix a reference count leak in slave_show() by properly putting the device reference obtained from device_find_any_child(). Fixes: 6c364062bfed ("spi: core: Add support for registering SPI slave controllers") Fixes: c21b0837983d ("spi: Use device_find_any_child() instead of custom approach") Signed-off-by: Miaoqian Lin <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions