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)
commitdb14655ad7854b69a2efda348e30d02dbc19e8a1
tree76da81ebe910c3de84aa100df009a53e18bb212a
parent8a254d90a77580244ec57e82bca7eb65656cc167
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