Skip to content

Commit 3ee3d98

Browse files
committed
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
2 parents 072e513 + bdbf061 commit 3ee3d98

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

tools/testing/selftests/lib.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ ifeq (0,$(MAKELEVEL))
4040
endif
4141
endif
4242
selfdir = $(realpath $(dir $(filter %/lib.mk,$(MAKEFILE_LIST))))
43+
top_srcdir = $(selfdir)/../../..
4344

4445
# The following are built by lib.mk common compile rules.
4546
# TEST_CUSTOM_PROGS should be used by tests that require

tools/testing/selftests/sgx/sigstruct.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@
1717
#include "defines.h"
1818
#include "main.h"
1919

20+
/*
21+
* FIXME: OpenSSL 3.0 has deprecated some functions. For now just ignore
22+
* the warnings.
23+
*/
24+
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
25+
2026
struct q1q2_ctx {
2127
BN_CTX *bn_ctx;
2228
BIGNUM *m;

0 commit comments

Comments
 (0)