[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdbTPSvYpMvWWUWy=JpJeNvv6grBLHpebu5vLQa=Oem_Qw@mail.gmail.com>
Date: Tue, 16 Apr 2019 13:49:27 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Nicholas Mc Guire <hofrat@...dl.org>
Cc: Russell King <linux@...linux.org.uk>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
NXP Linux Team <linux-imx@....com>,
Mark Brown <broonie@...nel.org>,
Tony Lindgren <tony@...mide.com>,
Mike Rapoport <rppt@...ux.vnet.ibm.com>,
Janusz Krzysztofik <jmkrzyszt@...il.com>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ARM: ux500: add missing of_node_put()
On Sat, Apr 13, 2019 at 9:20 AM Nicholas Mc Guire <hofrat@...dl.org> wrote:
> of_find_compatible_node() returns a pointer with refcount incremented
> so both in the error path as well as after usage in soc_info_populate()
> respectively actually b8500_read_soc_id() an explicit of_node_put is
> needed to release backupram.
>
> Signed-off-by: Nicholas Mc Guire <hofrat@...dl.org>
> Fixes: commit 18a992787896 ("ARM: ux500: move soc_id driver to drivers/soc")
Patch applied to my Ux500 tree with Ulf's ACK.
Yours,
Linus Walleij
Powered by blists - more mailing lists