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:
d3dce35
)
efi_selftest: missing braces in efi_selftest_textinputex.c
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Sat, 15 Sep 2018 19:00:52 +0000
(21:00 +0200)
committer
Alexander Graf
<agraf@suse.de>
Sun, 23 Sep 2018 19:55:30 +0000
(21:55 +0200)
gcc 4.8.4 wants to see all levels of braces when initializing a
structure to zeros.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_selftest/efi_selftest_textinputex.c
patch
|
blob
|
history
diff --git
a/lib/efi_selftest/efi_selftest_textinputex.c
b/lib/efi_selftest/efi_selftest_textinputex.c
index d20d8ad89dec93b1f89293a5b557a3b99d75282a..de44224ce1c08800ef45275989dfe54f7df666b4 100644
(file)
--- a/
lib/efi_selftest/efi_selftest_textinputex.c
+++ b/
lib/efi_selftest/efi_selftest_textinputex.c
@@
-116,7
+116,7
@@
static int teardown(void)
*/
static int execute(void)
{
- struct efi_key_data input_key = {
0,
};
+ struct efi_key_data input_key = {
{0, 0}, {0, 0}
};
efi_status_t ret;
efi_uintn_t index;