mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
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: Joe Perches <joe@perches.com> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
parent
f77767ed5f
commit
0b8d9fc995
2 changed files with 8 additions and 13 deletions
Loading…
Add table
Add a link
Reference in a new issue