]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: Fix oops with MSIs when missing EEH PEs
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Fri, 23 Nov 2012 02:25:39 +0000 (13:25 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 23 Nov 2012 02:26:05 +0000 (13:26 +1100)
commit8e2fd2f91338f329899b8c1131b8c3eec9abf00c
tree0485c5a67e6dd65dae4bf0a64122b20159b2aa51
parentbb46714e0cd92919eb56124488544dcadbec5e24
powerpc/pseries: Fix oops with MSIs when missing EEH PEs

The new EEH code introduced a small regression, if the EEH PEs
are missin (which happens currently in qemu for example), it
will deref a NULL pointer in the MSI code.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/msi.c