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:
debc3b7
)
PCI: OF: Don't crash when bridge parent is NULL.
author
David Daney
<david.daney@cavium.com>
Tue, 16 Aug 2011 18:24:37 +0000
(11:24 -0700)
committer
Jesse Barnes
<jbarnes@virtuousgeek.org>
Fri, 19 Aug 2011 15:51:37 +0000
(08:51 -0700)
In pcibios_get_phb_of_node(), we will crash while booting if
bus->bridge->parent is NULL.
Check for this case and avoid dereferencing the NULL pointer.
Signed-off-by: David Daney <david.daney@cavium.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
No differences found