[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:14:51 PST 2025


Il 04/01/25 15:20, Krzysztof Kozlowski ha scritto:
> 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.
> 
> Fixes: 0890beb22618 ("soc: mediatek: add mt6779 devapc driver")
> Cc: <stable at vger.kernel.org>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
Please disregard the previous email;

This series was applied to branch v6.13-next/soc instead.

Cheers,
Angelo



More information about the linux-arm-kernel mailing list