[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZt0aq36MAS5PWPZtiC6UQLkW1h8TBw2pmQj2xNzW-=eg@mail.gmail.com>
Date: Fri, 29 Apr 2022 01:04:44 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Peng Wu <wupeng58@...wei.com>
Cc: linux@...linux.org.uk, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, liwei391@...wei.com,
wangxiongfeng2@...wei.com
Subject: Re: [PATCH -next] ARM: versatile: Add missing of_node_put in dcscb_init
On Mon, Apr 25, 2022 at 10:18 AM Peng Wu <wupeng58@...wei.com> wrote:
> The device_node pointer is returned by of_find_compatible_node
> with refcount incremented. We should use of_node_put() to avoid
> the refcount leak.
>
> Signed-off-by: Peng Wu <wupeng58@...wei.com>
I applied this on linux-next. signed off and sent directly to
the SoC tree.
Yours,
Linus Walleij
Powered by blists - more mailing lists