提交 bd2e98b3 编写于 作者: C Corey Minyard

ipmi: Fix failure on SMBIOS specified devices

An extra memset was put into a place that cleared the interface
type.
Reported-by: NTony Camuso <tcamuso@redhat.com>
Fixes: 3cd83bac ("ipmi: Consolidate the adding of platform devices")
Signed-off-by: NCorey Minyard <cminyard@mvista.com>
上级 444fe991
......@@ -66,7 +66,6 @@ static void __init dmi_add_platform_ipmi(unsigned long base_addr,
return;
}
memset(&p, 0, sizeof(p));
p.addr = base_addr;
p.space = space;
p.regspacing = offset;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册