git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a952baa
)
powerpc/pci: Fix crash in PCI code on ppc64 when matching device nodes
author
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Sun, 20 Mar 2011 23:57:57 +0000
(10:57 +1100)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Sun, 20 Mar 2011 23:57:57 +0000
(10:57 +1100)
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>
No differences found