diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-08-23 23:13:36 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-08-23 23:13:36 +0300 |
commit | 3ee3d984102bc4e0ae4c3cbd67c80c0d61514100 (patch) | |
tree | 77746d9c298985b46177d4ef23e4e8e353dc6db3 /tools/testing/selftests | |
parent | 072e51356cd5a4a1c12c1020bc054c99b98333df (diff) | |
parent | bdbf0617bbc3641af158d1aeffeebb1505f76263 (diff) | |
download | linux-3ee3d984102bc4e0ae4c3cbd67c80c0d61514100.tar.xz |
Merge tag 'linux-kselftest-fixes-6.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
Pull Kselftest fixes from Shuah Khan:
"Fixes to vm and sgx test builds"
* tag 'linux-kselftest-fixes-6.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
selftests/vm: fix inability to build any vm tests
selftests/sgx: Ignore OpenSSL 3.0 deprecated functions warning
Diffstat (limited to 'tools/testing/selftests')
-rw-r--r-- | tools/testing/selftests/lib.mk | 1 | ||||
-rw-r--r-- | tools/testing/selftests/sgx/sigstruct.c | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/tools/testing/selftests/lib.mk b/tools/testing/selftests/lib.mk index 947fc72413e9..d44c72b3abe3 100644 --- a/tools/testing/selftests/lib.mk +++ b/tools/testing/selftests/lib.mk @@ -40,6 +40,7 @@ ifeq (0,$(MAKELEVEL)) endif endif selfdir = $(realpath $(dir $(filter %/lib.mk,$(MAKEFILE_LIST)))) +top_srcdir = $(selfdir)/../../.. # The following are built by lib.mk common compile rules. # TEST_CUSTOM_PROGS should be used by tests that require diff --git a/tools/testing/selftests/sgx/sigstruct.c b/tools/testing/selftests/sgx/sigstruct.c index 50c5ab1aa6fa..a07896a46364 100644 --- a/tools/testing/selftests/sgx/sigstruct.c +++ b/tools/testing/selftests/sgx/sigstruct.c @@ -17,6 +17,12 @@ #include "defines.h" #include "main.h" +/* + * FIXME: OpenSSL 3.0 has deprecated some functions. For now just ignore + * the warnings. + */ +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" + struct q1q2_ctx { BN_CTX *bn_ctx; BIGNUM *m; |