linux-next: build failure after merge of the efi tree
Mark Brown
maintainerHi all,
After merging the efi tree, today's linux-next build (x86_64 allmodconfig) failed like this:
/tmp/next/build/drivers/firmware/efi/efi.c: In function 'efi_mem_type':/tmp/next/build/drivers/firmware/efi/efi.c:1009:44: error: passing argument 2 of 'efi_mem_desc_lookup' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
1009 | if (efi_mem_desc_lookup(phys_addr, &md))
| ^~~
In file included from /tmp/next/build/drivers/firmware/efi/efi.c:22:/tmp/next/build/include/linux/efi.h:757:66: note: expected 'efi_memory_desc_t *' but argument is of type 'const efi_memory_desc_t *'
757 | extern int efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md);
| ~~~~~~~~~~~~~~~~~~~^~~~~~Caused by commit
5992265762e66 (efi: make efi_mem_type() and efi_mem_attributes() work on Xen PV)
I have used the tree from 20260309 instead.