projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
444fe99
)
ipmi: Fix failure on SMBIOS specified devices
author
Corey Minyard
<cminyard@mvista.com>
Tue, 16 Apr 2019 21:26:45 +0000
(16:26 -0500)
committer
Corey Minyard
<cminyard@mvista.com>
Tue, 16 Apr 2019 21:36:47 +0000
(21:36 +0000)
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
patch
|
blob
|
history
diff --git
a/drivers/char/ipmi/ipmi_dmi.c
b/drivers/char/ipmi/ipmi_dmi.c
index ff0b199be4729757743bbd72bff2fc61a842d291..f2411468f33ff44707e45ab34cd359d2c3b5a0f0 100644
(file)
--- 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;