efi/libstub: Add efi_warn and *_once logging helpers
authorArvind Sankar <nivedita@alum.mit.edu>
Mon, 14 Sep 2020 21:35:34 +0000 (17:35 -0400)
committerArd Biesheuvel <ardb@kernel.org>
Wed, 16 Sep 2020 15:53:42 +0000 (18:53 +0300)
commitc1df5e0c5796f775e60d1aec0b52f6d03d66ccd4
treedb726b2b6df6e14995bb8963a97abdf4573b4d88
parent726bd8965a5f112d9601f7ce68effa1e46e02bf2
efi/libstub: Add efi_warn and *_once logging helpers

Add an efi_warn logging helper for warnings, and implement an analog of
printk_once for once-only logging.

Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Link: https://lore.kernel.org/r/20200914213535.933454-1-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/efistub.h