aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2022-05-12 12:19:50 +0000
committerRob Clark <[email protected]>2022-05-18 17:54:39 +0000
commitc56de483093d7ad0782327f95dda7da97bc4c315 (patch)
treef2da885060979731f83c9b49dfc76ccbe338c217 /fs/ext4/fast_commit.c
parentdrm/msm/dsi: don't powerup at modeset time for parade-ps8640 (diff)
downloadkernel-c56de483093d7ad0782327f95dda7da97bc4c315.tar.gz
kernel-c56de483093d7ad0782327f95dda7da97bc4c315.zip
drm/msm/a6xx: Fix refcount leak in a6xx_gpu_init
of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. a6xx_gmu_init() passes the node to of_find_device_by_node() and of_dma_configure(), of_find_device_by_node() will takes its reference, of_dma_configure() doesn't need the node after usage. Add missing of_node_put() to avoid refcount leak. Fixes: 4b565ca5a2cb ("drm/msm: Add A6XX device support") Signed-off-by: Miaoqian Lin <[email protected]> Reviewed-by: Akhil P Oommen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions