projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd4a1c4
)
efi_selftest: efi_st_memcmp should return 0
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Wed, 18 Oct 2017 16:13:11 +0000
(18:13 +0200)
committer
Alexander Graf
<agraf@suse.de>
Fri, 1 Dec 2017 12:22:55 +0000
(13:22 +0100)
If the compared memory areas match the return value should be 0.
We should not use the unrelated constant EFI_ST_SUCCESS.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_selftest/efi_selftest_util.c
patch
|
blob
|
history
diff --git
a/lib/efi_selftest/efi_selftest_util.c
b/lib/efi_selftest/efi_selftest_util.c
index 5cffe383d8d317190581c09ae73390895ee1da2e..5f81f251c441fa30969c0172f8acc3006c29a753 100644
(file)
--- a/
lib/efi_selftest/efi_selftest_util.c
+++ b/
lib/efi_selftest/efi_selftest_util.c
@@
-21,5
+21,5
@@
int efi_st_memcmp(const void *buf1, const void *buf2, size_t length)
++pos1;
++pos2;
}
- return
EFI_ST_SUCCESS
;
+ return
0
;
}