Hi Aaro,

From: Aaro Koskinen <[email protected]>
Subject: [PATCH] arm: plat-omap: iommu: fix request_mem_region() error path
Date: Mon, 14 Mar 2011 14:28:32 +0200

> request_mem_region() error exit will leak ioremapped memory. Fix this
> by moving the ioremap() after request_mem_region(), which is the proper
> order to do this anyway.
> 
> Signed-off-by: Aaro Koskinen <[email protected]>
> ---
>  arch/arm/plat-omap/iommu.c |   14 ++++++++------
>  1 files changed, 8 insertions(+), 6 deletions(-)

True. Thank you for catching this.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to