[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdYBHniSSb1Och=P_YNcuSvRxXYJM0KtCuLSeETxMtnAdQ@mail.gmail.com>
Date: Wed, 15 Jun 2022 16:04:24 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Miaoqian Lin <linmq006@...il.com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map
On Tue, Jun 7, 2022 at 1:16 PM Miaoqian Lin <linmq006@...il.com> wrote:
> of_parse_phandle() returns a node pointer with refcount
> incremented, we should use of_node_put() on it when not need anymore.
> Add missing of_node_put() to avoid refcount leak."
>
> Fixes: c2f6d059abfc ("pinctrl: nomadik: refactor DT parser to take two paths")
> Signed-off-by: Miaoqian Lin <linmq006@...il.com>
Patch applied!
Yours,
Linus Walleij
Powered by blists - more mailing lists