[PATCH] tty: serial: Fix refcount leak bug in ucc_uart.c

Timur Tabi timur at kernel.org
Sun Jun 19 03:07:05 AEST 2022


On Sat, Jun 18, 2022 at 1:09 AM Liang He <windhl at 126.com> wrote:
>
> In soc_info(), of_find_node_by_type() will return a node pointer
> with refcount incremented. We should use of_node_put() when it is
> not used anymore.
>
> Signed-off-by: Liang He <windhl at 126.com>

Acked-by: Timur Tabi <timur at kernel.org>


More information about the Linuxppc-dev mailing list