X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=lib%2Fefi_selftest%2Fefi_selftest_manageprotocols.c;h=44b8da3ba5d628337b32b56e9808fd3b303a1e6f;hb=c9a2c47b91b0334e7c7f5aaa0421ba7d751edbef;hp=874f86102d0787721eca89e653efb3a3a6f498f1;hpb=a3f77c810b1a57853e4d5fee3014ac8cbbd03a9a;p=u-boot diff --git a/lib/efi_selftest/efi_selftest_manageprotocols.c b/lib/efi_selftest/efi_selftest_manageprotocols.c index 874f86102d..44b8da3ba5 100644 --- a/lib/efi_selftest/efi_selftest_manageprotocols.c +++ b/lib/efi_selftest/efi_selftest_manageprotocols.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * efi_selftest_manageprotocols * * Copyright (c) 2017 Heinrich Schuchardt * - * SPDX-License-Identifier: GPL-2.0+ - * * This unit test checks the following protocol services: * InstallProtocolInterface, UninstallProtocolInterface, * InstallMultipleProtocolsInterfaces, UninstallMultipleProtocolsInterfaces, @@ -336,7 +335,7 @@ static int execute(void) return EFI_ST_FAILURE; } ret = boottime->uninstall_protocol_interface(handle1, &guid3, - &interface1); + &interface3); if (ret != EFI_SUCCESS) { efi_st_error("UninstallProtocolInterface failed\n"); return EFI_ST_FAILURE;