diff options
| author | Kishon Vijay Abraham I <[email protected]> | 2018-07-09 20:18:56 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2018-07-09 20:19:51 +0000 |
| commit | a83a2173441698f7ac9867b93bcca21cf18a032d (patch) | |
| tree | 62ed69ff68963bd4c717c835df35973d5adece7d /lib/debugobjects.c | |
| parent | PCI: hv: Disable/enable IRQs rather than BH in hv_compose_msi_msg() (diff) | |
| download | kernel-a83a2173441698f7ac9867b93bcca21cf18a032d.tar.gz kernel-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 <[email protected]>
[lorenzo.pieralisi: updated commit log]
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
