]> asedeno.scripts.mit.edu Git - linux.git/commit
ipmi_si: Fix oops with PCI devices
authorCorey Minyard <cminyard@mvista.com>
Thu, 30 Nov 2017 17:06:15 +0000 (11:06 -0600)
committerCorey Minyard <cminyard@mvista.com>
Mon, 11 Dec 2017 13:42:50 +0000 (07:42 -0600)
commit1ac8aa8d0568606485451ea860a6c6c3fad0d42d
treee457abb87a23505279f0dd74cf8268d9e9ece03b
parent4f7f5551a760eb0124267be65763008169db7087
ipmi_si: Fix oops with PCI devices

When the IPMI PCI code was split out, some code was consolidated for
setting the io_setup field in the io structure.  The PCI code needed
this set before registration to probe register spacing, though, so
restore the old code for that function.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=197999
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Tested-by: Meelis Roos <mroos@linux.ee>
drivers/char/ipmi/ipmi_si_pci.c