From: Miaoqian Lin <linmq006@gmail.com>
To: Neil Armstrong <narmstrong@baylibre.com>,
David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
Kevin Hilman <khilman@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
Sam Ravnborg <sam@ravnborg.org>,
dri-devel@lists.freedesktop.org,
linux-amlogic@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Cc: Miaoqian Lin <linmq006@gmail.com>
Subject: [PATCH v2 0/2] drm/meson: Fix refcount leak
Date: Wed, 1 Jun 2022 07:39:25 +0400 [thread overview]
Message-ID: <20220601033927.47814-1-linmq006@gmail.com> (raw)
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 <martin.blumenstingl@googlemail.com>
(patch#1: no changes since v1)
v1 link:
patch#1: https://lore.kernel.org/r/20220531144818.26943-1-linmq006@gmail.com/
patch#2: https://lore.kernel.org/r/20220531144818.26943-2-linmq006@gmail.com/
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(-)
--
2.25.1
next reply other threads:[~2022-06-01 3:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-01 3:39 Miaoqian Lin [this message]
2022-06-01 3:39 ` [PATCH v2 1/2] drm/meson: encoder_cvbs: Fix refcount leak in meson_encoder_cvbs_init Miaoqian Lin
2022-06-05 22:02 ` Martin Blumenstingl
2022-06-01 3:39 ` [PATCH v2 2/2] drm/meson: encoder_hdmi: Fix refcount leak in meson_encoder_hdmi_init Miaoqian Lin
2022-06-05 22:07 ` Martin Blumenstingl
2022-06-07 12:27 ` [PATCH v2 0/2] drm/meson: Fix refcount leak Neil Armstrong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220601033927.47814-1-linmq006@gmail.com \
--to=linmq006@gmail.com \
--cc=airlied@linux.ie \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=jbrunet@baylibre.com \
--cc=khilman@baylibre.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=narmstrong@baylibre.com \
--cc=sam@ravnborg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).