aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-06-24 12:14:49 +0200
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-06-24 16:50:15 +0200
commit915f15ac5746739da0aa2ee2840c2d00dc65aaaa (patch)
treef5928563d9b27f1f22026d1540e684928f8c41d5 /lib
parentb1c272d18b50fae1465a8049d5b2802fcc424106 (diff)
downloadu-boot-915f15ac5746739da0aa2ee2840c2d00dc65aaaa.zip
u-boot-915f15ac5746739da0aa2ee2840c2d00dc65aaaa.tar.gz
u-boot-915f15ac5746739da0aa2ee2840c2d00dc65aaaa.tar.bz2
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 <xypron.glpk@gmx.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_variable.c b/lib/efi_loader/efi_variable.c
index e097670..4d275b2 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)