Discussion:
[PATCH] selftests/powerpc: Fix duplicate included pthread.h
Jiapeng Chong
2021-05-13 11:03:40 UTC
Permalink
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 <***@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <***@linux.alibaba.com>
---
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
Michael Ellerman
2021-06-06 12:08:38 UTC
Permalink
Post by Jiapeng Chong
./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

Loading...