mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-20 14:16:02 +00:00
x86: fix DMI ioremap leak
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
306c142f99
commit
0d64484f7e
1 changed files with 1 additions and 0 deletions
|
@ -349,6 +349,7 @@ void __init dmi_scan_machine(void)
|
|||
rc = dmi_present(q);
|
||||
if (!rc) {
|
||||
dmi_available = 1;
|
||||
dmi_iounmap(p, 0x10000);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue