git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'efi-fixes-for-v6.9-2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git]
/
drivers
/
firmware
/
efi
/
libstub
/
randomalloc.c
diff --git
a/drivers/firmware/efi/libstub/randomalloc.c
b/drivers/firmware/efi/libstub/randomalloc.c
index 4e96a855fdf47b5b064b63b729d7dc989cd2b949..7e185285955021cb66a1a3a5fb4d6c24fc651b33 100644
(file)
--- a/
drivers/firmware/efi/libstub/randomalloc.c
+++ b/
drivers/firmware/efi/libstub/randomalloc.c
@@
-120,7
+120,7
@@
efi_status_t efi_random_alloc(unsigned long size,
continue;
}
- target = round_up(m
d->phys_addr
, align) + target_slot * align;
+ target = round_up(m
ax(md->phys_addr, alloc_min)
, align) + target_slot * align;
pages = size / EFI_PAGE_SIZE;
status = efi_bs_call(allocate_pages, EFI_ALLOCATE_ADDRESS,