[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <172786008620.33539.9448473097115032514.b4-ty@collabora.com>
Date: Wed, 02 Oct 2024 11:08:06 +0200
From: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
To: linux-mediatek@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, Kevin Hilman <khilman@...libre.com>,
Matthias Brugger <matthias.bgg@...il.com>, Roger Lu <roger.lu@...iatek.com>,
Markus Elfring <Markus.Elfring@....de>
Cc: LKML <linux-kernel@...r.kernel.org>, kernel-janitors@...r.kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Subject: Re: [PATCH] soc: mediatek: mtk-svs: Call of_node_put(np) only once
in svs_get_subsys_device()
On Tue, 24 Sep 2024 20:08:15 +0200, Markus Elfring wrote:
> An of_node_put(np) call was immediately used after a pointer check
> for a of_find_device_by_node() call in this function implementation.
> Thus call such a function only once instead directly before the check.
>
> This issue was transformed by using the Coccinelle software.
>
>
> [...]
Applied to v6.12-next/soc, thanks!
[1/1] soc: mediatek: mtk-svs: Call of_node_put(np) only once in svs_get_subsys_device()
https://git.kernel.org/mediatek/c/1ee71494
Cheers,
Angelo
Powered by blists - more mailing lists