Thread (4 messages) 4 messages, 2 authors, 2025-01-07

Re: [PATCH 1/2] soc: mediatek: mtk-devapc: Fix leaking IO map on error paths

From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Date: 2025-01-07 12:13:00
Also in: linux-mediatek, lkml, stable

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


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help