diff options
author | Shixiong Ou <[email protected]> | 2023-09-14 10:13:32 +0800 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2023-09-18 13:36:53 -0600 |
commit | 27004f89b0a2479eceb77885337c2a7b0fdafbc4 (patch) | |
tree | 343de3a8f013024b578508bcdd2728038e9097a2 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
parent | 5a59f2ff30ae27bb5c3c1aa5d9e11d4d9fc003a5 (diff) |
vfio/pds: Use proper PF device access helper
The pci_physfn() helper exists to support cases where the physfn
field may not be compiled into the pci_dev structure. We've
declared this driver dependent on PCI_IOV to avoid this problem,
but regardless we should follow the precedent not to access this
field directly.
Signed-off-by: Shixiong Ou <[email protected]>
Reviewed-by: Brett Creeley <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions