summaryrefslogtreecommitdiffstats
path: root/drivers/pci/quirks.c
diff options
context:
space:
mode:
authorShawn Lin <shawn.lin@rock-chips.com>2018-03-01 09:26:55 +0800
committerBjorn Helgaas <helgaas@kernel.org>2018-03-01 12:52:38 -0600
commit9df1c6ecbf172fedb1f4f76585338860595b9bf7 (patch)
tree54c09454b9e534af13e8fbf224514d4791bda9c2 /drivers/pci/quirks.c
parent7babfa5b4bf0a9574c9b30f657b1d87abc5a84cf (diff)
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