From: Benjamin Herrenschmidt Date: Fri, 21 Dec 2007 03:53:27 +0000 (+1100) Subject: [POWERPC] Fix possible NULL deref in ppc32 PCI X-Git-Tag: v2.6.25-rc1~1131^2~203 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1b166b7ea2ec15700a8ba5c6ec99c2f9ecad89e;p=pandora-kernel.git [POWERPC] Fix possible NULL deref in ppc32 PCI The 32-bit PCI code tests if "bus" is non-NULL after calling pci_scan_bus_parented() in one place but not another before dereferencing it. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed