]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: Use PCI_STD_NUM_BARS instead of 6
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 16 Apr 2025 10:02:39 +0000 (13:02 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 16 Apr 2025 18:21:28 +0000 (13:21 -0500)
commit5fe8d08139280a552bb3e8471284362c65c5b032
tree97045ca09661233a4ed38f34c8f417f05de24498
parent74a70e80daa993445a8f0be817f8152a3b9d3b41
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
drivers/pci/probe.c