[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <176312789184.498.9799101319126383995.tip-bot2@tip-bot2>
Date: Fri, 14 Nov 2025 13:44:51 -0000
From: "tip-bot2 for Carlos Llamas" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Carlos Llamas <cmllamas@...gle.com>, Thomas Gleixner <tglx@...utronix.de>,
x86@...nel.org, linux-kernel@...r.kernel.org
Subject:
[tip: locking/futex] selftests/futex: Add newline to ksft_exit_fail_msg()
The following commit has been merged into the locking/futex branch of tip:
Commit-ID: 9407d138b8d5eff1cabceb4b3176f03191871479
Gitweb: https://git.kernel.org/tip/9407d138b8d5eff1cabceb4b3176f03191871479
Author: Carlos Llamas <cmllamas@...gle.com>
AuthorDate: Wed, 15 Oct 2025 17:35:41
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitterDate: Fri, 14 Nov 2025 14:39:36 +01:00
selftests/futex: Add newline to ksft_exit_fail_msg()
This was missed in commit e5c04d0f3ea0 ("selftests/futex: Refactor
futex_wait with kselftest_harness.h") while replacing previous perror()
calls, which automatically append the newline character.
Fixes: e5c04d0f3ea0 ("selftests/futex: Refactor futex_wait with kselftest_harness.h")
Signed-off-by: Carlos Llamas <cmllamas@...gle.com>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Link: https://patch.msgid.link/20251015173556.2899646-1-cmllamas@google.com
---
tools/testing/selftests/futex/functional/futex_wait.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/testing/selftests/futex/functional/futex_wait.c b/tools/testing/selftests/futex/functional/futex_wait.c
index 152ca46..4cd87f2 100644
--- a/tools/testing/selftests/futex/functional/futex_wait.c
+++ b/tools/testing/selftests/futex/functional/futex_wait.c
@@ -108,14 +108,14 @@ TEST(file_backed)
/* Testing a file backed shared memory */
fd = open(SHM_PATH, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
if (fd < 0)
- ksft_exit_fail_msg("open");
+ ksft_exit_fail_msg("open\n");
if (ftruncate(fd, sizeof(f_private)))
- ksft_exit_fail_msg("ftruncate");
+ ksft_exit_fail_msg("ftruncate\n");
shm = mmap(NULL, sizeof(f_private), PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
if (shm == MAP_FAILED)
- ksft_exit_fail_msg("mmap");
+ ksft_exit_fail_msg("mmap\n");
memcpy(shm, &f_private, sizeof(f_private));
Powered by blists - more mailing lists