[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0103d31e-f7f8-45df-9add-76adcca3ec40@kernel.org>
Date: Tue, 28 Oct 2025 09:42:52 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Miaoqian Lin <linmq006@...il.com>, Alim Akhtar <alim.akhtar@...sung.com>,
Peter Griffin <peter.griffin@...aro.org>,
Sam Protsenko <semen.protsenko@...aro.org>,
linux-arm-kernel@...ts.infradead.org, linux-samsung-soc@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: stable@...r.kernel.org
Subject: Re: [PATCH] soc: samsung: exynos-pmu: fix reference count leak in
exynos_get_pmu_regmap_by_phandle
On 28/10/2025 04:15, Miaoqian Lin wrote:
> The driver_find_device_by_of_node() function calls driver_find_device
> and returns a device with its reference count incremented.
> Add the missing put_device() call to
> release this reference after the device is used.
>
> Found via static analysis.
What static analysis? You must name the tool.
Anyway, same comments as before.
https://lore.kernel.org/all/?q=dfn%3Adrivers%2Fsoc%2Fsamsung%2Fexynos-pmu.c
Best regards,
Krzysztof
Powered by blists - more mailing lists