aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorDavid Daney <[email protected]>2011-08-16 18:24:37 +0000
committerJesse Barnes <[email protected]>2011-08-19 15:51:37 +0000
commit69566dd8be42dea7a22f625abc96e65bb4b45d1f (patch)
tree48e73a52bd8b79b5b8674243b54b5f2e346e5b9b /lib/debugobjects.c
parentPCI: export pcie_bus_configure_settings symbol (diff)
downloadkernel-69566dd8be42dea7a22f625abc96e65bb4b45d1f.tar.gz
kernel-69566dd8be42dea7a22f625abc96e65bb4b45d1f.zip
PCI: OF: Don't crash when bridge parent is NULL.
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 <[email protected]> Acked-by: Benjamin Herrenschmidt <[email protected]> Acked-by: Grant Likely <[email protected]> Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions