]> git.baikalelectronics.ru Git - kernel.git/commit
efi: libstub: Give efi_main() asmlinkage qualification
authorArd Biesheuvel <ardb@kernel.org>
Fri, 14 Oct 2022 17:29:57 +0000 (19:29 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Fri, 21 Oct 2022 09:09:40 +0000 (11:09 +0200)
commitfc93f5b9a08baae7062fd4367fe26eece5a1e824
tree76da81ebe910c3de84aa100df009a53e18bb212a
parent3549ec9c2829abddea9181709f123fa8c87632f7
efi: libstub: Give efi_main() asmlinkage qualification

To stop the bots from sending sparse warnings to me and the list about
efi_main() not having a prototype, decorate it with asmlinkage so that
it is clear that it is called from assembly, and therefore needs to
remain external, even if it is never declared in a header file.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/x86-stub.c