lkml.org 
[lkml]   [2019]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/7] fix possible object reference leaks in drivers/gpu
Date
The call to of_get_cpu_node/of_find_compatible_node/of_parse_phandle...
returns a node pointer with refcount incremented thus it must be
explicitly decremented after the last usage.

This patch series fix those possible object reference leaks in drivers/gpu.

Wen Yang (7):
drm/mediatek: fix possible object reference leak
drm/meson: fix possible object reference leak
drm/msm: a5xx: fix possible object reference leak
drm/omap: fix possible object reference leak
drm/pl111: fix possible object reference leak
drm: rcar-du: fix possible object reference leak
drm/tegra: fix possible object reference leak

drivers/gpu/drm/mediatek/mtk_hdmi.c | 1 +
drivers/gpu/drm/meson/meson_dw_hdmi.c | 7 ++-----
drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 10 ++++++----
drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c | 5 ++++-
drivers/gpu/drm/pl111/pl111_versatile.c | 4 ++++
drivers/gpu/drm/rcar-du/rcar_du_of.c | 2 ++
drivers/gpu/drm/tegra/output.c | 2 ++
drivers/gpu/drm/tegra/rgb.c | 8 ++++++--
8 files changed, 27 insertions(+), 12 deletions(-)

--
2.9.5

\
 
 \ /
  Last update: 2019-04-03 18:04    [W:0.095 / U:3.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site