diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2022-06-20 12:35:37 +0300 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2022-06-20 13:43:25 +0300 |
commit | 416581e486798cbe3e2b3306faee7d7e9bf3c3d4 (patch) | |
tree | 830bf8cc03d2ac8af0a47732de208787b3913d75 /drivers/firmware/efi/Kconfig | |
parent | 3881ee0b1edce0ece72d24b7c74f46b73bd6dcba (diff) | |
download | linux-416581e486798cbe3e2b3306faee7d7e9bf3c3d4.tar.xz |
efi: efibc: avoid efivar API for setting variables
Avoid abusing the efivar API by passing locally instantiated
efivar_entry structs into efivar_set_entry_safe(), rather than using the
API as intended. Instead, just call efi.set_variable() directly.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/Kconfig')
-rw-r--r-- | drivers/firmware/efi/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/efi/Kconfig b/drivers/firmware/efi/Kconfig index 7aa4717cdcac..6fd4414c4836 100644 --- a/drivers/firmware/efi/Kconfig +++ b/drivers/firmware/efi/Kconfig @@ -145,6 +145,7 @@ config EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER config EFI_BOOTLOADER_CONTROL tristate "EFI Bootloader Control" + select UCS2_STRING default n help This module installs a reboot hook, such that if reboot() is |