summaryrefslogtreecommitdiff
path: root/drivers/pci/setup-bus.c
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2018-07-09 23:18:56 +0300
committerBjorn Helgaas <bhelgaas@google.com>2018-07-09 23:19:51 +0300
commita83a2173441698f7ac9867b93bcca21cf18a032d (patch)
tree62ed69ff68963bd4c717c835df35973d5adece7d /drivers/pci/setup-bus.c
parent35a88a18d7ea58600e11590405bc93b08e16e7f5 (diff)
downloadlinux-a83a2173441698f7ac9867b93bcca21cf18a032d.tar.xz
PCI: endpoint: Fix NULL pointer dereference error when CONFIGFS is disabled
commit ef1433f717a2 ("PCI: endpoint: Create configfs entry for each pci_epf_device_id table entry") while adding configfs entry for each pci_epf_device_id table entry introduced a NULL pointer dereference error when CONFIG_PCI_ENDPOINT_CONFIGFS is not enabled. Fix it here. Fixes: ef1433f717a2 ("PCI: endpoint: Create configfs entry for each pci_epf_device_id table entry") Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> [lorenzo.pieralisi: updated commit log] Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/setup-bus.c')
0 files changed, 0 insertions, 0 deletions