Commit bd2e98b3 authored by Corey Minyard's avatar Corey Minyard

ipmi: Fix failure on SMBIOS specified devices

An extra memset was put into a place that cleared the interface
type.
Reported-by: default avatarTony Camuso <tcamuso@redhat.com>
Fixes: 3cd83bac ("ipmi: Consolidate the adding of platform devices")
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent 444fe991
...@@ -66,7 +66,6 @@ static void __init dmi_add_platform_ipmi(unsigned long base_addr, ...@@ -66,7 +66,6 @@ static void __init dmi_add_platform_ipmi(unsigned long base_addr,
return; return;
} }
memset(&p, 0, sizeof(p));
p.addr = base_addr; p.addr = base_addr;
p.space = space; p.space = space;
p.regspacing = offset; p.regspacing = offset;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment