diff options
author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2025-04-16 13:02:39 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-04-16 13:21:28 -0500 |
commit | 5fe8d08139280a552bb3e8471284362c65c5b032 (patch) | |
tree | 97045ca09661233a4ed38f34c8f417f05de24498 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 74a70e80daa993445a8f0be817f8152a3b9d3b41 (diff) |
PCI: Use PCI_STD_NUM_BARS instead of 6
pci_read_bases() is given literal 6 that means PCI_STD_NUM_BARS. Replace
the literal with the define to annotate the code better.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Link: https://patch.msgid.link/20250416100239.6958-1-ilpo.jarvinen@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions