projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f293fc5
)
sd-boot: silence one warning about pointer cast
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Thu, 25 Jul 2019 13:55:13 +0000
(15:55 +0200)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Fri, 26 Jul 2019 01:37:56 +0000
(10:37 +0900)
It doesn't matter either way. Fixes #13174.
src/boot/efi/linux.c
patch
|
blob
|
history
diff --git
a/src/boot/efi/linux.c
b/src/boot/efi/linux.c
index
ad26cc5
..
5b623f4
100644
(file)
--- a/
src/boot/efi/linux.c
+++ b/
src/boot/efi/linux.c
@@
-45,7
+45,7
@@
EFI_STATUS linux_exec(EFI_HANDLE *image,
boot_params = (struct boot_params *) 0xFFFFFFFF;
err = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress, EfiLoaderData,
- EFI_SIZE_TO_PAGES(0x4000), (
UINTN
*) &boot_params);
+ EFI_SIZE_TO_PAGES(0x4000), (
EFI_PHYSICAL_ADDRESS
*) &boot_params);
if (EFI_ERROR(err))
return err;