[POWERPC] EEH: Avoid crash on null device
authorLinas Vepstas <linas@austin.ibm.com>
Fri, 2 Nov 2007 20:29:01 +0000 (07:29 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 8 Nov 2007 03:15:32 +0000 (14:15 +1100)
commitb37ceefe7cfc56f27f03269206a53faedb8be9fd
tree8915d732dd6b51de362ae9ae08625ffec43a30ab
parent2a50f144fc6081269468abf79e1907c6669bef22
[POWERPC] EEH: Avoid crash on null device

Bugfix: avoid crash if there's no PCI device for a given
openfirmware node.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/eeh.c