Hello there,
linux-4.15-rc1/drivers/char/ipmi/ipmi_si_intf.c:2282]: (style) Expression is always false because 'else if' condition matches previous condition at line 2279
Source code is
if (new_smi->pdev) {
platform_device_unregister(new_smi->pdev);
new_smi->pdev = NULL;
} else if (new_smi->pdev) {
Suggest code rework.
Regards
David Binderman