diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2018-07-09 15:18:56 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-07-09 15:19:51 -0500 |
commit | a83a2173441698f7ac9867b93bcca21cf18a032d (patch) | |
tree | 62ed69ff68963bd4c717c835df35973d5adece7d /include/linux/pci.h | |
parent | PCI: hv: Disable/enable IRQs rather than BH in hv_compose_msi_msg() (diff) | |
download | linux-dev-a83a2173441698f7ac9867b93bcca21cf18a032d.tar.xz linux-dev-a83a2173441698f7ac9867b93bcca21cf18a032d.zip |
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 'include/linux/pci.h')
0 files changed, 0 insertions, 0 deletions