From: Linas Vepstas Date: Thu, 15 Nov 2007 18:56:23 +0000 (+1100) Subject: [POWERPC] EEH: Work with device endpoint, always X-Git-Tag: v2.6.25-rc1~1131^2~371 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=307d46e83291ef58b2c3b6d33b7ec6dd163d58b9;p=platform%2Fkernel%2Flinux-exynos.git [POWERPC] EEH: Work with device endpoint, always Perform all error checking at the "partitonable endpoint" of the device. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/platforms/pseries/eeh.c b/arch/powerpc/platforms/pseries/eeh.c index fb3d636..42a30b6 100644 --- a/arch/powerpc/platforms/pseries/eeh.c +++ b/arch/powerpc/platforms/pseries/eeh.c @@ -480,6 +480,7 @@ int eeh_dn_check_failure(struct device_node *dn, struct pci_dev *dev) no_dn++; return 0; } + dn = find_device_pe(dn); pdn = PCI_DN(dn); /* Access to IO BARs might get this far and still not want checking. */