summaryrefslogtreecommitdiff
path: root/lib/efi_selftest/efi_selftest_manageprotocols.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-05-08 09:20:04 -0400
committerTom Rini <trini@konsulko.com>2019-05-08 09:20:04 -0400
commitd4c352138c266d618677778a40a846946ec1af1c (patch)
treebdb960d0e9b457510a48ae97d8ba20d20edd3d97 /lib/efi_selftest/efi_selftest_manageprotocols.c
parent8d7f06bbbef16f172cd5e9c4923cdcebe16b8980 (diff)
parentb015ab57bf558daa1c768995a7a7f1df2d40191e (diff)
Merge tag 'efi-2019-07-rc2-2' of git://git.denx.de/u-boot-efi
Pull request for UEFI sub-system for v2019.07-rc2 (2) Fix a bunch of errors in the UEFI sub-system: * implement missing UnloadImage(), * implement missing RegisterProtocolNotify(), * unload images in Exit(), * parameter checks. Provide a unit test for UnloadImage(). Remove a redundant function for unit tests. Clean up the UEFI sub-system initialization
Diffstat (limited to 'lib/efi_selftest/efi_selftest_manageprotocols.c')
-rw-r--r--lib/efi_selftest/efi_selftest_manageprotocols.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/efi_selftest/efi_selftest_manageprotocols.c b/lib/efi_selftest/efi_selftest_manageprotocols.c
index 0ff35cec8a7..8edb1e4d467 100644
--- a/lib/efi_selftest/efi_selftest_manageprotocols.c
+++ b/lib/efi_selftest/efi_selftest_manageprotocols.c
@@ -332,13 +332,13 @@ static int execute(void)
efi_st_error("Failed to get protocols per handle\n");
return EFI_ST_FAILURE;
}
- if (efi_st_memcmp(prot_buffer[0], &guid1, 16) &&
- efi_st_memcmp(prot_buffer[1], &guid1, 16)) {
+ if (memcmp(prot_buffer[0], &guid1, 16) &&
+ memcmp(prot_buffer[1], &guid1, 16)) {
efi_st_error("Failed to get protocols per handle\n");
return EFI_ST_FAILURE;
}
- if (efi_st_memcmp(prot_buffer[0], &guid3, 16) &&
- efi_st_memcmp(prot_buffer[1], &guid3, 16)) {
+ if (memcmp(prot_buffer[0], &guid3, 16) &&
+ memcmp(prot_buffer[1], &guid3, 16)) {
efi_st_error("Failed to get protocols per handle\n");
return EFI_ST_FAILURE;
}