diff options
-rw-r--r-- | drivers/char/ipmi/ipmi_si_intf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index 908521e36d81..ad9ea06caee0 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c | |||
@@ -1734,6 +1734,7 @@ static void __devinit dmi_find_bmc(void) | |||
1734 | int rv; | 1734 | int rv; |
1735 | 1735 | ||
1736 | while ((dev = dmi_find_device(DMI_DEV_TYPE_IPMI, NULL, dev))) { | 1736 | while ((dev = dmi_find_device(DMI_DEV_TYPE_IPMI, NULL, dev))) { |
1737 | memset(&data, 0, sizeof(data)); | ||
1737 | rv = decode_dmi((struct dmi_header *) dev->device_data, &data); | 1738 | rv = decode_dmi((struct dmi_header *) dev->device_data, &data); |
1738 | if (!rv) | 1739 | if (!rv) |
1739 | try_init_dmi(&data); | 1740 | try_init_dmi(&data); |