All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] Kselftest fixes update for Linux 5.11-rc1
@ 2020-12-15 18:59 Shuah Khan
  2020-12-16  8:22 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Shuah Khan @ 2020-12-15 18:59 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Shuah Khan, linux-kernel, linux-kselftest, Mathieu Desnoyers,
	Christian Brauner

[-- Attachment #1: Type: text/plain, Size: 1338 bytes --]

Hi Linus,

Please pull this Kselftest fixes update for Linux 5.11-rc1.

This Kselftest fixes update for Linux 5.11-rc1 consists of build error
fixes for clone3 and rseq tests.

diff is attached.

thanks,
-- Shuah

----------------------------------------------------------------
The following changes since commit 0477e92881850d44910a7e94fc2c46f96faa131f:

   Linux 5.10-rc7 (2020-12-06 14:25:12 -0800)

are available in the Git repository at:

   git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest 
tags/linux-kselftest-fixes-5.11-rc1

for you to fetch changes up to 88f4ede44c585b24674dd99841040b2a1a856a76:

   selftests/clone3: Fix build error (2020-12-07 14:34:55 -0700)

----------------------------------------------------------------
linux-kselftest-fixes-5.11-rc1

This Kselftest fixes update for Linux 5.11-rc1 consists of build error
fixes for clone3 and rseq tests.

----------------------------------------------------------------
Xingxing Su (2):
       rseq/selftests: Fix MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ build 
error under other arch.
       selftests/clone3: Fix build error

  tools/testing/selftests/clone3/Makefile   | 2 +-
  tools/testing/selftests/rseq/param_test.c | 4 ++--
  2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------



[-- Attachment #2: linux-kselftest-fixes-5.11-rc1.diff --]
[-- Type: text/x-patch, Size: 1235 bytes --]

diff --git a/tools/testing/selftests/clone3/Makefile b/tools/testing/selftests/clone3/Makefile
index ef7564cb7abe..79b19a2863a0 100644
--- a/tools/testing/selftests/clone3/Makefile
+++ b/tools/testing/selftests/clone3/Makefile
@@ -1,5 +1,5 @@
 # SPDX-License-Identifier: GPL-2.0
-CFLAGS += -g -I../../../../usr/include/
+CFLAGS += -g -std=gnu99 -I../../../../usr/include/
 LDLIBS += -lcap
 
 TEST_GEN_PROGS := clone3 clone3_clear_sighand clone3_set_tid \
diff --git a/tools/testing/selftests/rseq/param_test.c b/tools/testing/selftests/rseq/param_test.c
index 384589095864..699ad5f93c34 100644
--- a/tools/testing/selftests/rseq/param_test.c
+++ b/tools/testing/selftests/rseq/param_test.c
@@ -1133,6 +1133,8 @@ static int set_signal_handler(void)
 	return ret;
 }
 
+/* Test MEMBARRIER_CMD_PRIVATE_RESTART_RSEQ_ON_CPU membarrier command. */
+#ifdef RSEQ_ARCH_HAS_OFFSET_DEREF_ADDV
 struct test_membarrier_thread_args {
 	int stop;
 	intptr_t percpu_list_ptr;
@@ -1286,8 +1288,6 @@ void *test_membarrier_manager_thread(void *arg)
 	return NULL;
 }
 
-/* Test MEMBARRIER_CMD_PRIVATE_RESTART_RSEQ_ON_CPU membarrier command. */
-#ifdef RSEQ_ARCH_HAS_OFFSET_DEREF_ADDV
 void test_membarrier(void)
 {
 	const int num_threads = opt_threads;

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] Kselftest fixes update for Linux 5.11-rc1
  2020-12-15 18:59 [GIT PULL] Kselftest fixes update for Linux 5.11-rc1 Shuah Khan
@ 2020-12-16  8:22 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2020-12-16  8:22 UTC (permalink / raw)
  To: Shuah Khan
  Cc: Linus Torvalds, Shuah Khan, linux-kernel, linux-kselftest,
	Mathieu Desnoyers, Christian Brauner

The pull request you sent on Tue, 15 Dec 2020 11:59:10 -0700:

> git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-fixes-5.11-rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b80affe33fdd56c8e9f1f0f33ad99f9016a59195

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-16  8:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-15 18:59 [GIT PULL] Kselftest fixes update for Linux 5.11-rc1 Shuah Khan
2020-12-16  8:22 ` pr-tracker-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.