efi_selftest: efi_st_memcmp should return 0
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 18 Oct 2017 16:13:11 +0000 (18:13 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 1 Dec 2017 12:22:55 +0000 (13:22 +0100)
commit9a52a0f77da6bbc4a1b13bff1aceb376057af9b3
tree343711caf7c950b3bb789d3269e9b79fe7f655c1
parentfd4a1c491134c509b25507abfe5f86d58a3b5f0b
efi_selftest: efi_st_memcmp should return 0

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