Re: [PATCH 0/2] efi/runtime-wrappers: fix linker warnings
"Ard Biesheuvel" <[email protected]> Tue, 14 Jul 2026 09:50:05 +0300
| Newsgroups | org.kernel.vger.linux-efi,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 13 Jul 2026, at 16:06, Breno Leitao wrote: > When I've submitted my last patchset titled "efi/runtime-wrappers: bound > the wait for EFI runtime service calls", I've got two reports > > 1) efi_rts_park_worker() loops forever and never returns, but wasn't > marked __noreturn, so objtool warns about the unreachable code after > the call. > https://lore.kernel.org/all/[email protected]/ > > 2) efi_runtime_lock_owner is optimised away under CONFIG_BUG=n, leaving a > dangling debug-info reference that breaks the link. > https://lore.kernel.org/all/[email protected]/ > > Patch 1 fixes the objtool warning; patch 2 fixes the link error. > > Signed-off-by: Breno Leitao <[email protected]> > --- > Breno Leitao (2): > efi/runtime-wrappers: mark efi_rts_park_worker() as __noreturn > efi/runtime-wrappers: mark efi_runtime_lock_owner as __used > Queued up now, thanks.