aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
diff options
context:
space:
mode:
authorWang Kefeng <[email protected]>2022-05-24 08:03:46 +0000
committerRussell King (Oracle) <[email protected]>2022-07-14 12:17:48 +0000
commit8030aa3ce12e3b9d47afa62344c601ed508c2d9e (patch)
tree259a370d56344ec99bb7407cd1f3365f473cee51 /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
parentARM: 9214/1: alignment: advance IT state after emulating Thumb instruction (diff)
downloadkernel-8030aa3ce12e3b9d47afa62344c601ed508c2d9e.tar.gz
kernel-8030aa3ce12e3b9d47afa62344c601ed508c2d9e.zip
ARM: 9207/1: amba: fix refcount underflow if amba_device_add() fails
"ARM: 9192/1: amba: fix memory leak in amba_device_try_add()" leads to a refcount underflow if amba_device_add() fails, which called by of_amba_device_create(), the of_amba_device_create() already exists the error handling, so amba_put_device() only need to be added into amba_deferred_retry(). Fixes: 7719a68b2fa4 ("ARM: 9192/1: amba: fix memory leak in amba_device_try_add()") Reported-by: Guenter Roeck <[email protected]> Tested-by: Guenter Roeck <[email protected]> Signed-off-by: Kefeng Wang <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions