[PATCH] selftests/powerpc: Fix duplicate included pthread.h

Subsystems: kernel selftest framework, the rest

STALE1918d LANDED

Landed in mainline as c67454615cf9 on 2021-05-23.

2 messages, 2 authors, 2021-06-06 · open the first message on its own page

[PATCH] selftests/powerpc: Fix duplicate included pthread.h

From: Jiapeng Chong <hidden>
Date: 2021-05-13 11:05:20

Clean up the following includecheck warning:

./tools/testing/selftests/powerpc/tm/tm-vmx-unavail.c: pthread.h is
included more than once.

No functional change.

Reported-by: Abaci Robot <redacted>
Signed-off-by: Jiapeng Chong <redacted>
---
 tools/testing/selftests/powerpc/tm/tm-vmx-unavail.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/tools/testing/selftests/powerpc/tm/tm-vmx-unavail.c b/tools/testing/selftests/powerpc/tm/tm-vmx-unavail.c
index e2a0c07..9ef37a9 100644
--- a/tools/testing/selftests/powerpc/tm/tm-vmx-unavail.c
+++ b/tools/testing/selftests/powerpc/tm/tm-vmx-unavail.c
@@ -17,7 +17,6 @@
 #include <pthread.h>
 #include <sys/mman.h>
 #include <unistd.h>
-#include <pthread.h>
 
 #include "tm.h"
 #include "utils.h"
-- 
1.8.3.1

Re: [PATCH] selftests/powerpc: Fix duplicate included pthread.h

From: Michael Ellerman <hidden>
Date: 2021-06-06 12:13:02

On Thu, 13 May 2021 19:03:40 +0800, Jiapeng Chong wrote:
Clean up the following includecheck warning:

./tools/testing/selftests/powerpc/tm/tm-vmx-unavail.c: pthread.h is
included more than once.

No functional change.
Applied to powerpc/next.

[1/1] selftests/powerpc: Fix duplicate included pthread.h
      https://git.kernel.org/powerpc/c/c67454615cf95160cb806f7a471158a901eb261d

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help