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:
a2505fc
)
efi_selftest: incorrect use of bitwise or
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Sun, 25 Nov 2018 14:21:40 +0000
(15:21 +0100)
committer
Alexander Graf
<agraf@suse.de>
Sun, 2 Dec 2018 20:59:37 +0000
(21:59 +0100)
We should use a logical or when combining logical values.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_selftest/efi_selftest_loaded_image.c
patch
|
blob
|
history
diff --git
a/lib/efi_selftest/efi_selftest_loaded_image.c
b/lib/efi_selftest/efi_selftest_loaded_image.c
index f9b54ae26351cd0cdb9d0b60edd76dd385946a3f..ea2b380a777c7461c5453b33a010a969a02560d8 100644
(file)
--- a/
lib/efi_selftest/efi_selftest_loaded_image.c
+++ b/
lib/efi_selftest/efi_selftest_loaded_image.c
@@
-53,7
+53,7
@@
static int execute(void)
efi_st_error("ProtocolsPerHandle failed\n");
return EFI_ST_FAILURE;
}
- if (!protocol_buffer_count | !protocol_buffer) {
+ if (!protocol_buffer_count |
|
!protocol_buffer) {
efi_st_error("ProtocolsPerHandle returned no protocol\n");
return EFI_ST_FAILURE;
}