aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2022-10-31 07:43:37 +0000
committerSebastian Reichel <[email protected]>2022-11-17 21:49:39 +0000
commit1aff514e1d2bd47854dbbdf867970b9d463d4c57 (patch)
tree3f9644f2a4b390b8e4f0b8285e76af46ff688b46 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentHSI: omap_ssi_core: fix unbalanced pm_runtime_disable() (diff)
downloadkernel-1aff514e1d2bd47854dbbdf867970b9d463d4c57.tar.gz
kernel-1aff514e1d2bd47854dbbdf867970b9d463d4c57.zip
HSI: omap_ssi_core: fix possible memory leak in ssi_probe()
If ssi_add_controller() returns error, it should call hsi_put_controller() to give up the reference that was set in hsi_alloc_controller(), so that it can call hsi_controller_release() to free controller and ports that allocated in hsi_alloc_controller(). Fixes: b209e047bc74 ("HSI: Introduce OMAP SSI driver") Signed-off-by: Yang Yingliang <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions