[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdaLPcVHUQL1d7e797vN_WRi0kbnLtfTa9Fnp1id3anjfw@mail.gmail.com>
Date: Sun, 26 Jun 2022 01:06:31 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: heliang <windhl@....com>
Cc: mturquette@...libre.com, sboyd@...nel.org,
linux-arm-kernel@...ts.infradead.org, linux-clk@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers: clk: Add missing of_node_put() in clk-nomadik.c
On Wed, Jun 15, 2022 at 10:30 AM heliang <windhl@....com> wrote:
> In nomadik_src_init, of_find_matching_node() return a node pointer
> with refcount incremented. We should use of_node_put() in fail path
> or when it is not used anymore.
>
> Signed-off-by: heliang <windhl@....com>
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
Yours,
Linus Walleij
Powered by blists - more mailing lists