From: Heinrich Schuchardt Date: Wed, 24 Jun 2020 10:14:49 +0000 (+0200) Subject: efi_loader: type of efi_secure_mode X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=915f15ac5746739da0aa2ee2840c2d00dc65aaaa;p=oweals%2Fu-boot.git efi_loader: type of efi_secure_mode Variable efi_secure_mode is meant to hold a value of enum efi_secure_mode. So it should not be defined as int but as enum efi_secure_mode. Signed-off-by: Heinrich Schuchardt --- diff --git a/lib/efi_loader/efi_variable.c b/lib/efi_loader/efi_variable.c index e097670e28..4d275b23ce 100644 --- a/lib/efi_loader/efi_variable.c +++ b/lib/efi_loader/efi_variable.c @@ -27,7 +27,7 @@ enum efi_secure_mode { }; static bool efi_secure_boot; -static int efi_secure_mode; +static enum efi_secure_mode efi_secure_mode; static u8 efi_vendor_keys; #define READ_ONLY BIT(31)