Re: [PATCH] arm: plat-omap: iommu: fix request_mem_region() error path

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

 



* Hiroshi DOYU <Hiroshi.DOYU@xxxxxxxxx> [110314 05:50]:
> Hi Aaro,
> 
> From: Aaro Koskinen <aaro.koskinen@xxxxxxxxx>
> 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 <aaro.koskinen@xxxxxxxxx>
> > ---
> >  arch/arm/plat-omap/iommu.c |   14 ++++++++------
> >  1 files changed, 8 insertions(+), 6 deletions(-)
> 
> True. Thank you for catching this.

Applying.

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux