diff options
author | Rick Wertenbroek <rick.wertenbroek@gmail.com> | 2024-12-12 19:25:47 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2024-12-12 21:59:11 +0300 |
commit | 76850b54943ffd5037c97cc27794449ce05c31e9 (patch) | |
tree | 89856464674fdecb1ea37bb57806624038e737ad /tools/perf/scripts/python/syscall-counts.py | |
parent | 40384c840ea1944d7c5a392e8975ed088ecf0b37 (diff) | |
download | linux-76850b54943ffd5037c97cc27794449ce05c31e9.tar.xz |
PCI: endpoint: Replace magic number '6' by PCI_STD_NUM_BARS
Replace the constant "6" by PCI_STD_NUM_BARS, as defined in
include/uapi/linux/pci_regs.h:
#define PCI_STD_NUM_BARS 6 /* Number of standard BARs */
Link: https://lore.kernel.org/r/20241212162547.225880-1-rick.wertenbroek@gmail.com
Signed-off-by: Rick Wertenbroek <rick.wertenbroek@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions