OSDN Git Service

efi: Use string literals for efi_char16_t variable initializers
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 12 Mar 2018 08:45:00 +0000 (08:45 +0000)
committerIngo Molnar <mingo@kernel.org>
Mon, 12 Mar 2018 09:05:02 +0000 (10:05 +0100)
commit36b649760e94968e0495b73284aaf07eed0a328f
treedcd045f5cc5ab161d3b19a7bf85dff012f629d8e
parent136d5d57e35cc6985c57d23d0c823133e3508bed
efi: Use string literals for efi_char16_t variable initializers

Now that we unambiguously build the entire kernel with -fshort-wchar,
it is no longer necessary to open code efi_char16_t[] initializers as
arrays of characters, and we can move to the L"xxx" notation instead.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Lukas Wunner <lukas@wunner.de>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/20180312084500.10764-6-ard.biesheuvel@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/boot/compressed/eboot.c
arch/x86/platform/efi/quirks.c
drivers/firmware/efi/libstub/Makefile
drivers/firmware/efi/libstub/secureboot.c
drivers/firmware/efi/libstub/tpm.c