diff options
author | Meelis Roos <mroos@linux.ee> | 2018-06-06 16:11:26 +0300 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2018-09-18 16:15:33 -0500 |
commit | 01508d9ebf4fc863f2fc4561c390bf4b7c3301a6 (patch) | |
tree | 52343f7fa308253aa865ac7d6df04a6861ebbc03 /drivers/connector | |
parent | f993cdd99a5fc554bc79e1ce70a9f5335e386649 (diff) | |
download | linux-01508d9ebf4fc863f2fc4561c390bf4b7c3301a6.tar.bz2 |
ipmi_si_pci: fix NULL device in ipmi_si error message
I noticed that 4.17.0 logs the follwing during ipmi_si setup:
ipmi_si 0000:01:04.6: probing via PCI
(NULL device *): Could not setup I/O space
ipmi_si 0000:01:04.6: [mem 0xf5ef0000-0xf5ef00ff] regsize 1 spacing 1 irq 21
Fix the "NULL device *) by moving io.dev assignment before its potential
use by ipmi_pci_probe_regspacing().
Result:
ipmi_si 0000:01:04.6: probing via PCI
ipmi_si 0000:01:04.6: Could not setup I/O space
ipmi_si 0000:01:04.6: [mem 0xf5ef0000-0xf5ef00ff] regsize 1 spacing 1 irq 21
Signed-off-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/connector')
0 files changed, 0 insertions, 0 deletions