public inbox for linux-next@vger.kernel.org
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the efi tree
@ 2026-03-10 19:06 Mark Brown
  0 siblings, 0 replies; 10+ messages in thread
From: Mark Brown @ 2026-03-10 19:06 UTC (permalink / raw)
  To: Ard Biesheuvel, Marek Marczykowski-Górecki
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

Hi 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.

^ permalink raw reply	[flat|nested] 10+ messages in thread
* linux-next: build failure after merge of the efi tree
@ 2025-07-09 10:21 Stephen Rothwell
  2025-07-09 10:23 ` Ard Biesheuvel
  0 siblings, 1 reply; 10+ messages in thread
From: Stephen Rothwell @ 2025-07-09 10:21 UTC (permalink / raw)
  To: Ard Biesheuvel
  Cc: Gerd Hoffmann, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 353 bytes --]

Hi all,

After merging the efi tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

ERROR: modpost: "efi_kobj" [drivers/firmware/efi/ovmf-debug-log.ko] undefined!

Caused by commit

  42c68c6e354f ("efi: add ovmf debug log driver")

I have used the efi tree from next-20250708 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread
* linux-next: build failure after merge of the efi tree
@ 2023-08-22  6:48 Stephen Rothwell
  2023-08-22  7:32 ` Ard Biesheuvel
  0 siblings, 1 reply; 10+ messages in thread
From: Stephen Rothwell @ 2023-08-22  6:48 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 583 bytes --]

Hi all,

After merging the efi tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

In file included from drivers/platform/x86/uv_sysfs.c:14:
arch/x86/include/asm/uv/bios.h:118:22: error: expected ')' before '*' token
  118 |         u64 (__efiapi *function)(enum uv_bios_cmd, ...);
      |                      ^~
      |                      )

Caused by commit

  73632c8c865f ("efi/runtime-wrappers: Remove duplicated macro for service returning void")

I havwe used the efi tree from next-20230821 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread
* linux-next: build failure after merge of the efi tree
@ 2022-09-19  9:11 Stephen Rothwell
  2022-09-19  9:12 ` Ard Biesheuvel
  0 siblings, 1 reply; 10+ messages in thread
From: Stephen Rothwell @ 2022-09-19  9:11 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 620 bytes --]

Hi all,

After merging the efi tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

x86_64-linux-gnu-ld: drivers/firmware/efi/libstub/x86-stub.stub.o:(.bss.efistub+0x8): multiple definition of `efi_system_table'; drivers/firmware/efi/libstub/systable.stub.o:(.bss.efistub+0x0): first defined here

Presumably caused by commit

  8fd3c9a90998 ("efi/libstub: move efi_system_table global var into separate object")

(or maybe commit

  ba2dd31b7588 ("efi/libstub: implement generic EFI zboot")
)

I have used the efi tree from next-20220916 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-03-10 19:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-10 19:06 linux-next: build failure after merge of the efi tree Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
2025-07-09 10:21 Stephen Rothwell
2025-07-09 10:23 ` Ard Biesheuvel
2023-08-22  6:48 Stephen Rothwell
2023-08-22  7:32 ` Ard Biesheuvel
2023-08-22  8:08   ` Stephen Rothwell
2023-08-22  8:41     ` Ard Biesheuvel
2022-09-19  9:11 Stephen Rothwell
2022-09-19  9:12 ` Ard Biesheuvel
2022-09-19  9:25   ` Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox