[PATCH RH grub2] arm64: Fix EFI loader kernel image allocation
Benjamin Herrenschmidt
benh at kernel.crashing.org
Fri Jul 30 02:50:25 BST 2021
On Mon, 2021-07-26 at 18:20 +1000, Benjamin Herrenschmidt wrote:
> + grub_uint64_t filelen;
.../...
> + filelen = grub_file_size (file);
>
.../...
> + if (grub_file_read (file, kernel, filelen) < filelen)
Is causing a signed/unsigned comparison warning. I'm updating the patch
to also fix honoring of the alignment in the header since Ard will send
a patch adding a warning to the kernel when it's incorrect. I'll send a
v2 later today or tomorrow after testing.
Cheers,
Ben.
More information about the Efi
mailing list