Re: [PATCH] efi: fix type in efi_mem_type()

From: Ard Biesheuvel

Date: Tue Mar 10 2026 - 16:58:53 EST




On Tue, 10 Mar 2026, at 19:56, Marek Marczykowski-Górecki wrote:
> Drop const, as use of efi_mem_desc_lookup() will modify the variable.
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes:
> https://lore.kernel.org/oe-kbuild-all/202603101851.bAhG7uGN-lkp@xxxxxxxxx/
> Fixes: 5992265762e6 "efi: make efi_mem_type() and efi_mem_attributes()
> work on Xen PV"
> Signed-off-by: Marek Marczykowski-Górecki
> <marmarek@xxxxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/firmware/efi/efi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Thanks, but i've fixed up the original commit instead.