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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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






[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux