[PATCH 1/2] soc: mediatek: mtk-devapc: Fix leaking IO map on error paths
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Tue Jan 7 04:12:58 PST 2025
On Sat, 04 Jan 2025 15:20:11 +0100, Krzysztof Kozlowski wrote:
> Error paths of mtk_devapc_probe() should unmap the memory. Reported by
> Smatch:
>
> drivers/soc/mediatek/mtk-devapc.c:292 mtk_devapc_probe() warn: 'ctx->infra_base' from of_iomap() not released on lines: 277,281,286.
>
>
Applied to v6.13-next/dts64, thanks!
[1/2] soc: mediatek: mtk-devapc: Fix leaking IO map on error paths
commit: a985d806d231ab40992f59a8bf96acf1b7a94762
[2/2] soc: mediatek: mtk-devapc: Fix leaking IO map on driver remove
commit: c2bcebc6fbf74a5aa5b127349d5cd15577d78cd6
Cheers,
Angelo
More information about the Linux-mediatek
mailing list