diff options
author | Keith Busch <keith.busch@intel.com> | 2018-09-20 19:27:09 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-09-21 20:18:08 +0300 |
commit | 60271ab044a53edb9dcbe76bebea2221c4ff04d9 (patch) | |
tree | 08fb7f1367b8f72f6dda95b78b5a1cd5d734fd08 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4f802170a861265680cad03f47b19c4c3a137052 (diff) | |
download | linux-60271ab044a53edb9dcbe76bebea2221c4ff04d9.tar.xz |
PCI/AER: Take reference on error devices
Error handling may be running in parallel with a hot removal. Reference
count the device during AER handling so the device can not be freed while
AER wants to reference it.
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Sinan Kaya <okaya@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions