[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkda0nKuG=ydxHwuV1cNzyFTbdv8FP606GUNTZaBxKQ6Udw@mail.gmail.com>
Date: Tue, 15 Mar 2022 02:23:13 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Miaoqian Lin <linmq006@...il.com>
Cc: Lee Jones <lee.jones@...aro.org>,
linux-arm-kernel@...ts.infradead.org, linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pinctrl: nomadik: Add missing of_node_put() in nmk_pinctrl_probe
On Mon, Mar 7, 2022 at 12:51 PM Miaoqian Lin <linmq006@...il.com> wrote:
> This node pointer is returned by of_parse_phandle() with refcount
> incremented in this function. Calling of_node_put() to avoid
> the refcount leak.
>
> Fixes: 32e67eee670e ("pinctrl: nomadik: Allow prcm_base to be extracted from Device Tree")
> Signed-off-by: Miaoqian Lin <linmq006@...il.com>
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists