diff options
author | Corey Minyard <cminyard@mvista.com> | 2019-04-16 16:26:45 -0500 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2019-04-16 21:36:47 +0000 |
commit | bd2e98b351b668fa914b46cc77040fdb2a817c06 (patch) | |
tree | 70a95dd161e208bb43aa88fabd87887538c0d2d0 /drivers/char/ipmi | |
parent | 444fe991353987c1c9bc5ab1f903d01f1b4ad415 (diff) | |
download | linux-bd2e98b351b668fa914b46cc77040fdb2a817c06.tar.bz2 |
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>
Diffstat (limited to 'drivers/char/ipmi')
-rw-r--r-- | drivers/char/ipmi/ipmi_dmi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_dmi.c b/drivers/char/ipmi/ipmi_dmi.c index ff0b199be472..f2411468f33f 100644 --- a/drivers/char/ipmi/ipmi_dmi.c +++ b/drivers/char/ipmi/ipmi_dmi.c @@ -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; |