diff options
| author | Alan Mikhak <[email protected]> | 2019-05-23 21:45:44 +0000 |
|---|---|---|
| committer | Lorenzo Pieralisi <[email protected]> | 2019-06-11 09:55:12 +0000 |
| commit | db7a62482d2f6a63f36f30f62c4cbf1e53035719 (patch) | |
| tree | 59c72b1d0e6025896352df61cad86f5d973f73a7 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | Linux 5.2-rc1 (diff) | |
| download | kernel-db7a62482d2f6a63f36f30f62c4cbf1e53035719.tar.gz kernel-db7a62482d2f6a63f36f30f62c4cbf1e53035719.zip | |
PCI: endpoint: Set endpoint controller pointer to NULL
Set endpoint controller pointer to NULL in pci_epc_remove_epf()
to avoid -EBUSY on subsequent call to pci_epc_add_epf().
Add a check for NULL endpoint function pointer.
Signed-off-by: Alan Mikhak <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Acked-by: Kishon Vijay Abraham I <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
