Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd2e98b3 authored by Corey Minyard's avatar Corey Minyard
Browse files

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;