kernel_optimize_test/drivers/pci
David Daney 69566dd8be 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 <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>
2011-08-19 08:51:37 -07:00
..
hotplug PCI: Set PCI-E Max Payload Size on fabric 2011-08-01 11:49:16 -07:00
pcie Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2011-07-29 23:35:05 -07:00
.gitignore
access.c
bus.c
hotplug-pci.c
hotplug.c
htirq.c
ioapic.c
iov.c
irq.c
Kconfig
Makefile Merge branch 'core-iommu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2011-07-22 16:39:42 -07:00
msi.c
msi.h
of.c PCI: OF: Don't crash when bridge parent is NULL. 2011-08-19 08:51:37 -07:00
pci-acpi.c
pci-driver.c
pci-label.c pci-label.c: size_t misspelled as mode_t 2011-07-26 13:01:09 -04:00
pci-stub.c
pci-sysfs.c
pci.c PCI: Set PCI-E Max Payload Size on fabric 2011-08-01 11:49:16 -07:00
pci.h PCI: make cardbus-bridge resources optional 2011-08-01 11:50:40 -07:00
probe.c PCI: export pcie_bus_configure_settings symbol 2011-08-02 08:53:00 -07:00
proc.c
quirks.c
remove.c
rom.c
search.c
setup-bus.c PCI: code and comments cleanup 2011-08-01 11:50:50 -07:00
setup-irq.c
setup-res.c PCI : ability to relocate assigned pci-resources 2011-08-01 11:50:15 -07:00
slot.c
syscall.c
vpd.c
xen-pcifront.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00