diff options
| author | Thomas Gleixner <[email protected]> | 2022-11-11 14:55:07 +0100 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2022-11-17 15:15:22 +0100 |
| commit | bab65e48cb064d67b488efb6888c06fd977a8245 (patch) | |
| tree | 38891b797f5ef00443d78b2528ef9e4d8e1e5d71 /tools/perf/scripts/python/sctop.py | |
| parent | 12910ffd189e23d8996e0d19b723518accf57b76 (diff) | |
PCI/MSI: Sanitize MSI-X checks
There is no point in doing the same sanity checks over and over in a loop
during MSI-X enablement. Put them in front of the loop and return early
when they fail.
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Acked-by: Bjorn Helgaas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions