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 | |
parent | 35a88a18d7ea58600e11590405bc93b08e16e7f5 (diff) | |
download | linux-stable-a83a2173441698f7ac9867b93bcca21cf18a032d.tar.gz linux-stable-a83a2173441698f7ac9867b93bcca21cf18a032d.tar.bz2 linux-stable-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')
0 files changed, 0 insertions, 0 deletions