diff options
author | Kishon Vijay Abraham I <[email protected]> | 2018-07-09 15:18:56 -0500 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2018-07-09 15:19:51 -0500 |
commit | a83a2173441698f7ac9867b93bcca21cf18a032d (patch) | |
tree | 62ed69ff68963bd4c717c835df35973d5adece7d /tools/perf/util/trace-event-scripting.c | |
parent | 35a88a18d7ea58600e11590405bc93b08e16e7f5 (diff) |
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 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions