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>
This commit is contained in:
Heinrich Schuchardt
2024-04-03 17:33:34 +02:00
parent 19327c1f90
commit 3b51c3a0b0
2 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
#include <linux/bitops.h>
#define EFI_VARIABLE_READ_ONLY BIT(31)
#define EFI_VARIABLE_READ_ONLY 0x80000000
enum efi_auth_var_type {
EFI_AUTH_VAR_NONE = 0,