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

From: Timur Tabi
Date: Sat Jun 18 2022 - 13:07:49 EST


On Sat, Jun 18, 2022 at 1:09 AM Liang He <windhl@xxxxxxx> 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@xxxxxxx>

Acked-by: Timur Tabi <timur@xxxxxxxxxx>