Searched hist:a83a2173441698f7ac9867b93bcca21cf18a032d (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/pci/endpoint/ |
H A D | pci-epf-core.c | diff a83a2173441698f7ac9867b93bcca21cf18a032d Mon Jul 09 15:18:56 CDT 2018 Kishon Vijay Abraham I <kishon@ti.com> 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>
|