lkml.org 
[lkml]   [2022]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] tty: serial: Fix refcount leak bug in ucc_uart.c
On Sat, Jun 18, 2022 at 1:09 AM Liang He <windhl@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@126.com>

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

\
 
 \ /
  Last update: 2022-06-18 19:08    [W:0.070 / U:1.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site