Skip to content

Commit bd2e98b

Browse files
committed
ipmi: Fix failure on SMBIOS specified devices
An extra memset was put into a place that cleared the interface type. Reported-by: Tony Camuso <tcamuso@redhat.com> Fixes: 3cd83ba ("ipmi: Consolidate the adding of platform devices") Signed-off-by: Corey Minyard <cminyard@mvista.com>
1 parent 444fe99 commit bd2e98b

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎drivers/char/ipmi/ipmi_dmi.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ static void __init dmi_add_platform_ipmi(unsigned long base_addr,
6666
return;
6767
}
6868

69-
memset(&p, 0, sizeof(p));
7069
p.addr = base_addr;
7170
p.space = space;
7271
p.regspacing = offset;

0 commit comments

Comments
 (0)