* [PATCH -next] selftests/pidfd_test: Remove the erroneous ','
@ 2022-11-01 3:56 Zhao Gongyi
2022-11-02 9:11 ` Shuah Khan
0 siblings, 1 reply; 2+ messages in thread
From: Zhao Gongyi @ 2022-11-01 3:56 UTC (permalink / raw)
To: linux-kernel, linux-kselftest; +Cc: brauner, shuah, joel, Zhao Gongyi
Remove the erroneous ',', otherwise it might result in wrong output
and report:
...
Bail out! (errno %d)
test: Unexpected epoll_wait result (c=4208480, events=2)
...
Fixes: 740378dc7834 ("pidfd: add polling selftests")
Signed-off-by: Zhao Gongyi <zhaogongyi@huawei.com>
---
tools/testing/selftests/pidfd/pidfd_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/pidfd/pidfd_test.c b/tools/testing/selftests/pidfd/pidfd_test.c
index d36654265b7a..e2dd4ed84984 100644
--- a/tools/testing/selftests/pidfd/pidfd_test.c
+++ b/tools/testing/selftests/pidfd/pidfd_test.c
@@ -413,7 +413,7 @@ static void poll_pidfd(const char *test_name, int pidfd)
c = epoll_wait(epoll_fd, events, MAX_EVENTS, 5000);
if (c != 1 || !(events[0].events & EPOLLIN))
- ksft_exit_fail_msg("%s test: Unexpected epoll_wait result (c=%d, events=%x) ",
+ ksft_exit_fail_msg("%s test: Unexpected epoll_wait result (c=%d, events=%x) "
"(errno %d)\n",
test_name, c, events[0].events, errno);
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH -next] selftests/pidfd_test: Remove the erroneous ','
2022-11-01 3:56 [PATCH -next] selftests/pidfd_test: Remove the erroneous ',' Zhao Gongyi
@ 2022-11-02 9:11 ` Shuah Khan
0 siblings, 0 replies; 2+ messages in thread
From: Shuah Khan @ 2022-11-02 9:11 UTC (permalink / raw)
To: Zhao Gongyi, linux-kernel, linux-kselftest
Cc: brauner, shuah, joel, Shuah Khan
On 10/31/22 21:56, Zhao Gongyi wrote:
> Remove the erroneous ',', otherwise it might result in wrong output
> and report:
> ...
> Bail out! (errno %d)
> test: Unexpected epoll_wait result (c=4208480, events=2)
> ...
>
> Fixes: 740378dc7834 ("pidfd: add polling selftests")
> Signed-off-by: Zhao Gongyi <zhaogongyi@huawei.com>
> ---
Applied to linux-kselftest next for the next rc.
thanks,
-- Shuah
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-02 9:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-01 3:56 [PATCH -next] selftests/pidfd_test: Remove the erroneous ',' Zhao Gongyi
2022-11-02 9:11 ` Shuah Khan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox