[PATCH] drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()
Neil Armstrong
narmstrong at baylibre.com
Mon Aug 8 00:52:11 PDT 2022
Hi,
On Tue, 26 Jul 2022 09:07:22 +0800, Liang He wrote:
> In this function, there are two refcount leak bugs:
> (1) when breaking out of for_each_endpoint_of_node(), we need call
> the of_node_put() for the 'ep';
> (2) we should call of_node_put() for the reference returned by
> of_graph_get_remote_port() when it is not used anymore.
>
>
> [...]
Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-fixes)
[1/1] drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()
https://cgit.freedesktop.org/drm/drm-misc/commit/?id=91b3c8dbe898df158fd2a84675f3a284ff6666f7
--
Neil
More information about the linux-amlogic
mailing list