aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorShuah Khan <[email protected]>2022-05-17 14:36:30 -0600
committerGreg Kroah-Hartman <[email protected]>2022-05-19 18:57:17 +0200
commit8e04a7afce3d796c0c25219e30e16543e3fde2d2 (patch)
tree2308395dbedba75b1c788c01ca3a2981df10ad95 /tools/perf/scripts/python
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions