summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorShuah Khan <skhan@linuxfoundation.org>2022-05-17 14:36:30 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-19 18:57:17 +0200
commit8e04a7afce3d796c0c25219e30e16543e3fde2d2 (patch)
tree2308395dbedba75b1c788c01ca3a2981df10ad95 /tools/perf/scripts/python/export-to-sqlite.py
parent5621a0bcb4b4dffc87d74330a9a31b868572f763 (diff)
misc: alcor_pci: set NULL intfdata and clear pci master
alcor_pci doesn't set driver data to NULL and clear pci master when probe fails. Doesn't clear pci master from remove interface. Clearing pci master is necessary to disable bus mastering and prevent DMAs after driver removal. Fix alcor_pci_probe() to set driver data to NULL and clear pci master from its error path. Fix alcor_pci_remove() to clear pci master. Signed-off-by: Shuah Khan <skhan@linuxfoundation.org> Link: https://lore.kernel.org/r/20220517203630.45232-1-skhan@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions