aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-03-21 10:57:57 +1100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-03-21 10:57:57 +1100
commit90407c9976939e061f32b0e07602e5ce4887d9e8 (patch)
tree9e962cdc2f11687751c8d37d74dad1abcd88e5e9 /arch/powerpc/include/asm
parenta952baa034ae7c2e4a66932005cbc7ebbccfe28d (diff)
downloadlinaro-lsk-90407c9976939e061f32b0e07602e5ce4887d9e8.tar.gz
powerpc/pci: Fix crash in PCI code on ppc64 when matching device nodes
Commit b5d937de0367d26f65b9af1aef5f2c34c1939be0 has a bug which causes basically a NULL dereference in the PCI code during boot on ppc64 machines. fetch_dev_dn() is called when dev->dev.of_node is NULL, so using that as the starting point for the search makes no sense. It should instead start from the device node of the PHB. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm')
0 files changed, 0 insertions, 0 deletions