[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <28cd6700.3e2d.1816b13f1fa.Coremail.windhl@126.com>
Date: Thu, 16 Jun 2022 13:54:38 +0800 (CST)
From: "Liang He" <windhl@....com>
To: palmer@...belt.com, paul.walmsley@...ive.com, aou@...s.berkeley.edu
Cc: linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org,
"kernel test robot" <lkp@...el.com>
Subject: Re:[PATCH v2] soc: sifive: (sifive_l2_cache) Add missing
of_node_put()
At 2022-06-16 12:49:15, "Liang He" <windhl@....com> wrote:
>In sifive_l2_init(), of_find_matching_node() will return a node pointer
>with refcount incremented. We should use of_node_put() in each fail path
>or when it is not used anymore.
>
>Reported-by: kernel test robot <lkp@...el.com>
>
>Signed-off-by: Liang He <windhl@....com>
>---
Sorry, please ignore this version as it still has a bug. I will have a strict check and compile the code before my next commit.
Powered by blists - more mailing lists