efi_loader: EFI_VARIABLE_READ_ONLY should be 32bit
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 3 Apr 2024 15:33:34 +0000 (17:33 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 8 Apr 2024 11:03:31 +0000 (13:03 +0200)
commit3b51c3a0b03411b07f0acd8bf2361ba54043fdcf
tree7eb708266860a8bbe43391e72bc2c03b29563b23
parent19327c1f90e528cd89eb170250ebea6338b424f5
efi_loader: EFI_VARIABLE_READ_ONLY should be 32bit

GetVariable() and SetVariable() only accept a 32bit value for attributes.
It makes not sense to define EFI_VARIABLE_READ_ONLY as unsigned long.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
include/efi_variable.h
lib/efi_loader/efi_variable.c