diff options
author | Shawn Lin <shawn.lin@rock-chips.com> | 2018-03-01 04:26:55 +0300 |
---|---|---|
committer | Bjorn Helgaas <helgaas@kernel.org> | 2018-03-01 21:52:38 +0300 |
commit | 9df1c6ecbf172fedb1f4f76585338860595b9bf7 (patch) | |
tree | 54c09454b9e534af13e8fbf224514d4791bda9c2 /drivers/pci/quirks.c | |
parent | 7babfa5b4bf0a9574c9b30f657b1d87abc5a84cf (diff) | |
download | linux-9df1c6ecbf172fedb1f4f76585338860595b9bf7.tar.xz |
PCI: Fix NULL pointer dereference in of_pci_bus_find_domain_nr()
If the "parent" pointer passed to of_pci_bus_find_domain_nr() is NULL,
don't dereference it.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/quirks.c')
0 files changed, 0 insertions, 0 deletions