aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/reset/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorFelix Gu <ustc.gu@gmail.com>2026-01-24 00:37:38 +0800
committerRob Clark <robin.clark@oss.qualcomm.com>2026-05-13 14:07:27 -0700
commite64bca63647db1d5518198d6c5ca2dbcc66b182b (patch)
tree29bda94b5f04399326925ca65dd0d8d7c8ab3038 /include/linux/reset/ssh:/git@git.zx2c4.com
parentdrm/msm: Fix GMEM_BASE for A650 (diff)
drm/msm/adreno: Fix a reference leak in a6xx_gpu_init()
In a6xx_gpu_init(), node is obtained via of_parse_phandle(). While there was a manual of_node_put() at the end of the common path, several early error returns would bypass this call, resulting in a reference leak. Fix this by using the __free(device_node) cleanup handler to release the reference when the variable goes out of scope. Fixes: 5a903a44a984 ("drm/msm/a6xx: Introduce GMU wrapper support") Signed-off-by: Felix Gu <ustc.gu@gmail.com> Patchwork: https://patchwork.freedesktop.org/patch/700661/ Message-ID: <20260124-a6xx_gpu-v1-1-fa0c8b2dcfb1@gmail.com> Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Diffstat (limited to 'include/linux/reset/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions