From: Linas Vepstas Date: Thu, 26 Jul 2007 22:33:58 +0000 (+1000) Subject: [POWERPC] EEH: Fix PCI bridge handling bug X-Git-Tag: v2.6.24-rc1~1450^2~384 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=093eda3ce5dc3758c9a5e806ea6573bfffed3ff7;p=pandora-kernel.git [POWERPC] EEH: Fix PCI bridge handling bug The EEH code needs to ignore PCI bridges; sort-of. It was ignoring them in the wrong place, and thus failing to set up the PCI_DN(dn)->pcidev pointer. Imprudent dereferencing of this pointer would lead to a crash on cards with bridges. Signed-off-by: Linas Vepstas ---- arch/powerpc/platforms/pseries/eeh_cache.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed