summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.c
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2018-08-09 16:45:47 -0500
committerBjorn Helgaas <bhelgaas@google.com>2018-08-09 17:47:44 -0500
commit3b269185c19268027ac79388b03c9d7322518e4c (patch)
tree9951c50750fb38742ea3cb63985b4a9bbc30138e /drivers/pci/pci.c
parentaaca43fda742223e4f62bd73e13055f5364e9a9b (diff)
downloadlinux-stable-3b269185c19268027ac79388b03c9d7322518e4c.tar.gz
linux-stable-3b269185c19268027ac79388b03c9d7322518e4c.tar.bz2
linux-stable-3b269185c19268027ac79388b03c9d7322518e4c.zip
PCI: Convert device-specific ACS quirks from NULL termination to ARRAY_SIZE
Convert the search for device-specific ACS enable quirks from searching a NULL-terminated array to iterating through the array, which is always fixed-size anyway. No functional change intended. Signed-off-by: Logan Gunthorpe <logang@deltatee.com> [bhelgaas: changelog, split to separate patch for reviewability] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/pci/pci.c')
0 files changed, 0 insertions, 0 deletions