[PATCH] drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()

Liang He windhl at 126.com
Tue Jul 26 00:59:08 UTC 2022


At 2022-07-26 03:39:17, "Martin Blumenstingl" <martin.blumenstingl at googlemail.com> wrote:
>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

Thanks, 

I will do that soon.


More information about the dri-devel mailing list