From: Ingo Molnar Date: Wed, 30 Jan 2008 12:33:09 +0000 (+0100) Subject: x86: fix DMI ioremap leak X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0d64484f7ea1;p=openwrt%2Fstaging%2Fblogic.git x86: fix DMI ioremap leak Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/drivers/firmware/dmi_scan.c b/drivers/firmware/dmi_scan.c index 0b24a1141009..5f9d0bc839ba 100644 --- a/drivers/firmware/dmi_scan.c +++ b/drivers/firmware/dmi_scan.c @@ -349,6 +349,7 @@ void __init dmi_scan_machine(void) rc = dmi_present(q); if (!rc) { dmi_available = 1; + dmi_iounmap(p, 0x10000); return; } }