From: Ingo Molnar Date: Wed, 30 Jan 2008 12:33:09 +0000 (+0100) Subject: x86: fix DMI ioremap leak X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0d64484f7ea12ca04211b497e94634c3d27cf3fb;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.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; } }