]> Git Repo - J-u-boot.git/commitdiff
efi_loader: type of efi_secure_mode
authorHeinrich Schuchardt <[email protected]>
Wed, 24 Jun 2020 10:14:49 +0000 (12:14 +0200)
committerHeinrich Schuchardt <[email protected]>
Wed, 24 Jun 2020 14:50:15 +0000 (16:50 +0200)
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 <[email protected]>
lib/efi_loader/efi_variable.c

index e097670e2832bd7b0cab05946f1784790afc81f9..4d275b23ce74d72f8e6fc83e8ba8dc5b377ab855 100644 (file)
@@ -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)
This page took 0.036095 seconds and 4 git commands to generate.