x86: fix DMI ioremap leak
authorIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:09 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:09 +0000 (13:33 +0100)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/firmware/dmi_scan.c

index 0b24a11..5f9d0bc 100644 (file)
@@ -349,6 +349,7 @@ void __init dmi_scan_machine(void)
                        rc = dmi_present(q);
                        if (!rc) {
                                dmi_available = 1;
+                               dmi_iounmap(p, 0x10000);
                                return;
                        }
                }