[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191211201856.GA21857@bogus>
Date: Wed, 11 Dec 2019 14:18:56 -0600
From: Rob Herring <robh@...nel.org>
To: frowand.list@...il.com
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] of: refcount leak when phandle_cache entry replaced
On Tue, 10 Dec 2019 02:14:53 -0600, frowand.list@...il.com wrote:
> From: Frank Rowand <frank.rowand@...y.com>
>
> of_find_node_by_phandle() does not do an of_node_put() of the existing
> node in a phandle cache entry when that node is replaced by a new node.
>
> Reported-by: Rob Herring <robh+dt@...nel.org>
> Fixes: b8a9ac1a5b99 ("of: of_node_get()/of_node_put() nodes held in phandle cache")
> Signed-off-by: Frank Rowand <frank.rowand@...y.com>
> ---
>
> Checkpatch will warn about a line over 80 characters. Let me know
> if that bothers you.
>
> drivers/of/base.c | 2 ++
> 1 file changed, 2 insertions(+)
>
Applied, thanks.
Rob
Powered by blists - more mailing lists