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)
commit5a4af2ca48b877c8214722f338bdce702892e269
tree6131ef3577c2fcbd39de2dd5c25773258b063790
parent18c3850f313e1646a05fb016c9f6d5b7ad47e751
parent3171e46d677a668eed3086da78671f1e4f5b8405
Merge branch 'pci/resource'

- 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()