diff mbox series

[GIT,PULL] Kselftest update for Linux 6.0-rc3

Message ID 2ccb5e70-2130-827a-5f05-c0264f1e3cf8@linuxfoundation.org
State New
Headers show
Series [GIT,PULL] Kselftest update for Linux 6.0-rc3 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-fixes-6.0-rc3

Commit Message

Shuah Khan Aug. 22, 2022, 9:51 p.m. UTC
Hi Linus,

Please pull the following Kselftest update for Linux 6.0-rc3.

This Kselftest fixes update for Linux 6.0-rc3 consists of fixes
and warnings to vm and sgx test builds.

sgx test fails to build without this change on new distros.

diff is attached.

thanks,
-- Shuah

----------------------------------------------------------------
The following changes since commit 568035b01cfb107af8d2e4bd2fb9aea22cf5b868:

   Linux 6.0-rc1 (2022-08-14 15:50:18 -0700)

are available in the Git repository at:

   git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-fixes-6.0-rc3

for you to fetch changes up to bdbf0617bbc3641af158d1aeffeebb1505f76263:

   selftests/vm: fix inability to build any vm tests (2022-08-19 17:57:20 -0600)

----------------------------------------------------------------
linux-kselftest-fixes-6.0-rc3

This Kselftest fixes update for Linux 6.0-rc3 consists of fixes
and warnings to vm and sgx test builds.

----------------------------------------------------------------
Axel Rasmussen (1):
       selftests/vm: fix inability to build any vm tests

Kristen Carlson Accardi (1):
       selftests/sgx: Ignore OpenSSL 3.0 deprecated functions warning

  tools/testing/selftests/lib.mk          | 1 +
  tools/testing/selftests/sgx/sigstruct.c | 6 ++++++
  2 files changed, 7 insertions(+)
----------------------------------------------------------------
diff mbox series

Patch

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;