Re: [PATCH v1] ARM: imx31: Fix IIM mapping leak in revision check
From: Frank . Li
Date: Mon Jun 01 2026 - 16:07:14 EST
From: Frank Li <Frank.Li@xxxxxxx>
On Mon, 25 May 2026 00:01:58 -0400, Yuho Choi wrote:
> mx31_read_cpu_rev() maps the IIM registers with of_iomap() to read the
> silicon revision, but returns without unmapping the MMIO mapping.
>
> Keep the normalized revision value in a local variable and route the
> return path through iounmap() after the revision register has been read.
>
>
> [...]
Applied, thanks!
[1/1] ARM: imx31: Fix IIM mapping leak in revision check
commit: ccb4b54b8ecf1ebafef96d538cd6c5c8455bb390
Best regards,
--
Frank Li <Frank.Li@xxxxxxx>