diff options
author | Jann Horn <jannh@google.com> | 2022-02-18 19:05:59 +0100 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2022-02-28 10:07:50 +0100 |
commit | 258dd902022cb10c83671176688074879517fd21 (patch) | |
tree | 5209100eaa713d38bc5a1dc0f09214f1afef2dee /arch/arm/include/asm/assembler.h | |
parent | dcf0c838854c86e1f41fb1934aea906845d69782 (diff) |
efivars: Respect "block" flag in efivar_entry_set_safe()
When the "block" flag is false, the old code would sometimes still call
check_var_size(), which wrongly tells ->query_variable_store() that it can
block.
As far as I can tell, this can't really materialize as a bug at the moment,
because ->query_variable_store only does something on X86 with generic EFI,
and in that configuration we always take the efivar_entry_set_nonblocking()
path.
Fixes: ca0e30dcaa53 ("efi: Add nonblocking option to efi_query_variable_store()")
Signed-off-by: Jann Horn <jannh@google.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20220218180559.1432559-1-jannh@google.com
Diffstat (limited to 'arch/arm/include/asm/assembler.h')
0 files changed, 0 insertions, 0 deletions