[PATCH] drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()
Martin Blumenstingl
martin.blumenstingl at googlemail.com
Mon Jul 25 19:39:17 UTC 2022
Hello,
On Fri, Jul 15, 2022 at 3:22 PM Liang He <windhl at 126.com> 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.
>
> Fixes: bbbe775ec5b5 ("drm: Add support for Amlogic Meson Graphic Controller")
> Signed-off-by: Liang He <windhl at 126.com>
Acked-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>
It's easy for me to miss patches if the linux-amlogic list is not part
of the recipient list.
Can you please re-send this patch and include the linux-amlogic
mailing list (with my acked-by added)? Then it should also show up in
Neil's inbox so he can apply this patch.
Thank you
Martin
More information about the dri-devel
mailing list