projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1c272d
)
efi_loader: type of efi_secure_mode
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Wed, 24 Jun 2020 10:14:49 +0000
(12:14 +0200)
committer
Heinrich Schuchardt
<xypron.glpk@gmx.de>
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 <xypron.glpk@gmx.de>
lib/efi_loader/efi_variable.c
patch
|
blob
|
history
diff --git
a/lib/efi_loader/efi_variable.c
b/lib/efi_loader/efi_variable.c
index e097670e2832bd7b0cab05946f1784790afc81f9..4d275b23ce74d72f8e6fc83e8ba8dc5b377ab855 100644
(file)
--- 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)