summaryrefslogtreecommitdiff
path: root/drivers/firmware
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-01-30 13:33:09 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:33:09 +0100
commit0d64484f7ea12ca04211b497e94634c3d27cf3fb (patch)
treeed1e7c545f36a498a86390abc5ffc01f17d6317a /drivers/firmware
parent306c142f99caef5a30a0d61a39a956c069941b63 (diff)
downloadlwn-0d64484f7ea12ca04211b497e94634c3d27cf3fb.tar.gz
lwn-0d64484f7ea12ca04211b497e94634c3d27cf3fb.zip
x86: fix DMI ioremap leak
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/firmware')
-rw-r--r--drivers/firmware/dmi_scan.c1
1 files changed, 1 insertions, 0 deletions
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;
}
}