Skip to content
Commit 0b8d9fc9 authored by Ard Biesheuvel's avatar Ard Biesheuvel
Browse files

efi/libstub: Make efi_printk() input argument const char*



To help the compiler figure out that efi_printk() will not modify
the string it is given, make the input argument type const char*.

While at it, simplify the implementation as well.

Suggested-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent f77767ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment