From: Michael Ellerman Date: Tue, 14 Apr 2015 06:49:05 +0000 (+1000) Subject: powerpc/eeh: Fix crash in eeh_add_device_early() on Cell X-Git-Tag: omap-for-v4.2/o2_dc~116^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89a51df5ab1d38b257300b8ac940bbac3bb0eb9b;p=pandora-kernel.git powerpc/eeh: Fix crash in eeh_add_device_early() on Cell The recent change to the EEH probing causes a crash on Cell because eeh_ops is NULL. Check if EEH is enabled and if not bail out. Fixes: ff57b454ddb9 ("powerpc/eeh: Do probe on pci_dn") Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed