aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
diff options
context:
space:
mode:
authorLin Yujun <[email protected]>2022-09-14 03:32:06 +0000
committerStephen Boyd <[email protected]>2022-10-01 00:06:59 +0000
commit855ae87a2073ebf1b395e020de54fdf9ce7d166f (patch)
treed68eb4343dbd45357752276525e1abdb3796cd1f /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
parentMerge tag 'clk-imx-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/abel... (diff)
downloadkernel-855ae87a2073ebf1b395e020de54fdf9ce7d166f.tar.gz
kernel-855ae87a2073ebf1b395e020de54fdf9ce7d166f.zip
clk: imx: scu: fix memleak on platform_device_add() fails
No error handling is performed when platform_device_add() fails. Add error processing before return, and modified the return value. Fixes: 77d8f3068c63 ("clk: imx: scu: add two cells binding support") Signed-off-by: Lin Yujun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c')
0 files changed, 0 insertions, 0 deletions