When encl.bin and encl.ss where detached from the test_sgx ELF binary this file should have been removed. Take care of that. Cc: Sean Christopherson <sean.j.christopherson@xxxxxxxxx> Cc: Shay Katz-zamir <shay.katz-zamir@xxxxxxxxx> Cc: Serge Ayoun <serge.ayoun@xxxxxxxxx> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx> --- tools/testing/selftests/x86/sgx/encl_piggy.h | 14 -------------- tools/testing/selftests/x86/sgx/main.c | 1 - 2 files changed, 15 deletions(-) delete mode 100644 tools/testing/selftests/x86/sgx/encl_piggy.h diff --git a/tools/testing/selftests/x86/sgx/encl_piggy.h b/tools/testing/selftests/x86/sgx/encl_piggy.h deleted file mode 100644 index ee8224f8cc8d..000000000000 --- a/tools/testing/selftests/x86/sgx/encl_piggy.h +++ /dev/null @@ -1,14 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ -/* - * Copyright(c) 2016-18 Intel Corporation. - */ - -#ifndef ENCL_PIGGY_H -#define ENCL_PIGGY_H - -extern unsigned char encl_bin[]; -extern unsigned char encl_bin_end[]; -extern unsigned char encl_ss[]; -extern unsigned char encl_ss_end[]; - -#endif /* ENCL_PIGGY_H */ diff --git a/tools/testing/selftests/x86/sgx/main.c b/tools/testing/selftests/x86/sgx/main.c index 2160bcd0ccd9..f78ff458b0dd 100644 --- a/tools/testing/selftests/x86/sgx/main.c +++ b/tools/testing/selftests/x86/sgx/main.c @@ -15,7 +15,6 @@ #include <sys/stat.h> #include <sys/time.h> #include <sys/types.h> -#include "encl_piggy.h" #include "defines.h" #include "../../../../../arch/x86/kernel/cpu/sgx/arch.h" #include "../../../../../arch/x86/include/uapi/asm/sgx.h" -- 2.20.1