efi: Clean up config table description arrays
authorArd Biesheuvel <ardb@kernel.org>
Thu, 26 Mar 2020 08:24:14 +0000 (09:24 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Fri, 24 Apr 2020 12:52:16 +0000 (14:52 +0200)
commit4e9a0f73f030e19a9259b69a7079021048e1f904
tree187c8e63d908a1a7ca4c6b81e865dc382afc0ffd
parent0a75561489f534cf2e8f6883e0cf8cdf51c534c5
efi: Clean up config table description arrays

Increase legibility by adding whitespace to the efi_config_table_type_t
arrays that describe which EFI config tables we look for when going over
the firmware provided list. While at it, replace the 'name' char pointer
with a char array, which is more space efficient on relocatable 64-bit
kernels, as it avoids a 8 byte pointer and the associated relocation
data (24 bytes when using RELA format)

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/ia64/kernel/efi.c
arch/x86/platform/efi/efi.c
drivers/firmware/efi/arm-init.c
drivers/firmware/efi/efi.c
include/linux/efi.h