Merge branch 'pci/resource'
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 15 Jan 2024 18:10:35 +0000 (12:10 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 15 Jan 2024 18:10:35 +0000 (12:10 -0600)
- Restructure pci_dev_for_each_resource() to avoid computing the address of
  an out-of-bounds array element (the bounds check was performed later so
  the element was never actually *read*, but it's nicer to avoid even
  computing an out-of-bounds address) (Andy Shevchenko)

* pci/resource:
  PCI: Avoid potential out-of-bounds read in pci_dev_for_each_resource()


Trivial merge