]> 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)
commit793e91dafa30697be08d1d7dd0321ddc27cf7de9
tree0485c5a67e6dd65dae4bf0a64122b20159b2aa51
parent0b9e67cd6c4b72a94067d0faa5b3bc2ba43138cc
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