Skip to content

drm/meson: Fix refcount leak

Miaoqian Lin dri-devel linux-amlogic linux-arm-kernel lkml 2 versions – Applied

Status from this message: Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesApplied
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- patch#2:Fixed patch in meson_encoder_hdmi_init, call of_node_put() after of_find_device_by_node() and error paths before that. noted by Martin Blumenstingl <[email protected]>

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2drm/meson: encoder_cvbs: Fix refcount leak in meson_encoder_cvbs_initdrivers/gpu/drm/meson/meson_encoder_cvbs.c+1 -01 reply
2/2drm/meson: encoder_hdmi: Fix refcount leak in meson_encoder_hdmi_initdrivers/gpu/drm/meson/meson_encoder_hdmi.c+11 -41 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMartin Blumenstingl
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] drm/meson: Fix refcount leak

The following patchset fix two refcount leak bugs. The cause of the bugs are missing of_node_put() after of_graph_get_remote_node().

changes in v2:
- patch#2:Fixed patch in meson_encoder_hdmi_init, call of_node_put() after of_find_device_by_node() and error paths before that. noted by Martin Blumenstingl <[email protected]>

(patch#1: no changes since v1)

v1 link:
patch#1: https://lore.kernel.org/r/[email protected]/
patch#2: https://lore.kernel.org/r/[email protected]/

Miaoqian Lin (2):
drm/meson: encoder_cvbs: Fix refcount leak in meson_encoder_cvbs_init drm/meson: encoder_hdmi: Fix refcount leak in meson_encoder_hdmi_init

 drivers/gpu/drm/meson/meson_encoder_cvbs.c |  1 +
 drivers/gpu/drm/meson/meson_encoder_hdmi.c | 15 +++++++++++----
 2 files changed, 12 insertions(+), 4 deletions(-)
Signature · 1 line
2.25.1