Commit 92a16c86 authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

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: 55d728a4

 ("efi/fb: Avoid reconfiguration of BAR that covers the framebuffer")
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 7ee214b5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment