lkml.org 
[lkml]   [2022]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] xtfpga: Fix refcount leak bug in setup
On Fri, Jun 17, 2022 at 4:54 AM Liang He <windhl@126.com> wrote:
>
> In machine_setup(), of_find_compatible_node() 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>
> ---
> arch/xtensa/platforms/xtfpga/setup.c | 1 +
> 1 file changed, 1 insertion(+)

Thanks. Applied to my xtensa tree.

-- Max

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