Skip to content

Commit 9d3eac3

Browse files
committed
Merge tag 'efi-urgent-for-v6.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi
Pull EFI fix from Ard Biesheuvel: - Fix for EFI unaccepted memory handling * tag 'efi-urgent-for-v6.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi: efi/unaccepted: Fix off-by-one when checking for overlapping ranges
2 parents 3b47bc0 + 01b1e3c commit 9d3eac3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/firmware/efi/unaccepted_memory.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ void accept_memory(phys_addr_t start, phys_addr_t end)
101101
* overlap on physical address level.
102102
*/
103103
list_for_each_entry(entry, &accepting_list, list) {
104-
if (entry->end < range.start)
104+
if (entry->end <= range.start)
105105
continue;
106106
if (entry->start >= range.end)
107107
continue;

0 commit comments

Comments
 (0)