ipmi: Fix failure on SMBIOS specified devices
authorCorey Minyard <cminyard@mvista.com>
Tue, 16 Apr 2019 21:26:45 +0000 (16:26 -0500)
committerCorey Minyard <cminyard@mvista.com>
Tue, 16 Apr 2019 21:36:47 +0000 (21:36 +0000)
commitbd2e98b351b668fa914b46cc77040fdb2a817c06
tree70a95dd161e208bb43aa88fabd87887538c0d2d0
parent444fe991353987c1c9bc5ab1f903d01f1b4ad415
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: 3cd83bac481dc4 ("ipmi: Consolidate the adding of platform devices")
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_dmi.c