[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOZdJXU6R1wma8VXwfPYzq6eSkT84DiXb+3eQCEVanLZC2LQ3w@mail.gmail.com>
Date: Sat, 18 Jun 2022 12:07:05 -0500
From: Timur Tabi <timur@...nel.org>
To: Liang He <windhl@....com>
Cc: Timur Tabi <timur@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
jirislaby@...nel.org,
PowerPC Mailing List <linuxppc-dev@...ts.ozlabs.org>,
linux-serial@...r.kernel.org, lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] tty: serial: Fix refcount leak bug in ucc_uart.c
On Sat, Jun 18, 2022 at 1:09 AM Liang He <windhl@....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@....com>
Acked-by: Timur Tabi <timur@...nel.org>
Powered by blists - more mailing lists