Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
efi/fb: Correct PCI_STD_RESOURCE_END usage
[ Upstream commit 92a16c8 ] 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: 55d728a ("efi/fb: Avoid reconfiguration of BAR that covers the framebuffer") Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information