[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YqpSpYUg4BIiy2B7@google.com>
Date: Wed, 15 Jun 2022 22:44:05 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Miaoqian Lin <linmq006@...il.com>
Cc: Mallikarjun Kasoju <mkasoju@...dia.com>,
Krzysztof Kozlowski <krzk@...nel.org>,
Laxman Dewangan <ldewangan@...dia.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mfd: max77620: Fix refcount leak in
max77620_initialise_fps
On Wed, 01 Jun 2022, Miaoqian Lin wrote:
> of_get_child_by_name() 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: 327156c59360 ("mfd: max77620: Add core driver for MAX77620/MAX20024")
> Signed-off-by: Miaoqian Lin <linmq006@...il.com>
> ---
> drivers/mfd/max77620.c | 2 ++
> 1 file changed, 2 insertions(+)
Applied, thanks.
--
Lee Jones [李琼斯]
Principal Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
Powered by blists - more mailing lists