commit | 92a16c86299c64f58f320e491977408ba31b8c3c | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Fri May 19 14:37:53 2017 -0500 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Tue Jun 13 11:44:23 2017 -0500 |
tree | 4e2596abb203ffca047fb1b6f0258edfdc56a46b | |
parent | 7ee214b540d9453af297cd19c43002018ed73fea [diff] |
efi/fb: Correct PCI_STD_RESOURCE_END usage PCI_STD_RESOURCE_END is (confusingly) the index of the last valid BAR, not the *number* of BARs. To iterate through all possible BARs, we need to include PCI_STD_RESOURCE_END. Fixes: 55d728a40d36 ("efi/fb: Avoid reconfiguration of BAR that covers the framebuffer") Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>