tools: testing: selftests: Remove duplicate headers
Subsystems (12)
PATCH 1/1 tools: testing: selftests: Remove duplicate headers
Remove duplicate headers which are included twice.
--- tools/testing/selftests/gpio/gpio-mockup-chardev.c | 1 - tools/testing/selftests/net/udpgso.c | 1 - tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test.c | 1 - tools/testing/selftests/proc/proc-self-syscall.c | 1 - tools/testing/selftests/rseq/rseq.h | 1 - tools/testing/selftests/timers/skew_consistency.c | 1 - tools/testing/selftests/x86/mpx-dig.c | 2 -- 7 files changed, 8 deletions(-)
tools/testing/selftests/gpio/gpio-mockup-chardev.c +0 -1
@@ -12,7 +12,6 @@#include <unistd.h> #include <stdio.h> #include <stdlib.h> -#include <stdio.h> #include <errno.h> #include <string.h> #include <fcntl.h>
tools/testing/selftests/net/udpgso.c +0 -1
@@ -17,7 +17,6 @@#include <stdbool.h> #include <stdlib.h> #include <stdio.h> -#include <stdlib.h> #include <string.h> #include <sys/ioctl.h> #include <sys/socket.h>
tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test.c +0 -1
@@ -11,7 +11,6 @@#include <sys/wait.h> #include <unistd.h> #include <setjmp.h> -#include <signal.h> #include "ebb.h"
tools/testing/selftests/proc/proc-self-syscall.c +0 -1
@@ -20,7 +20,6 @@#include <sys/stat.h> #include <fcntl.h> #include <errno.h> -#include <unistd.h> #include <string.h> #include <stdio.h>
tools/testing/selftests/rseq/rseq.h +0 -1
@@ -16,7 +16,6 @@#include <errno.h> #include <stdio.h> #include <stdlib.h> -#include <sched.h> #include <linux/rseq.h> /*
tools/testing/selftests/timers/skew_consistency.c +0 -1
@@ -32,7 +32,6 @@#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> -#include <stdlib.h> #include <string.h> #include <sys/wait.h> #include "../kselftest.h"
tools/testing/selftests/x86/mpx-dig.c +0 -2
@@ -8,9 +8,7 @@#include <unistd.h> #include <stdio.h> #include <errno.h> -#include <sys/types.h> #include <sys/stat.h> -#include <unistd.h> #include <sys/mman.h> #include <string.h> #include <fcntl.h>
Signature · 1 line
1.9.1
Michael Ellerman
reviewerQuoted 5 lines · Souptick Joarder
Remove duplicate headers which are included twice.
Signed-off-by Sabyasachi Gupta <[email protected]>Signed-off-by Souptick Joarder <[email protected]>---
...
Quoted 1 line
tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test.c | 1 -
I took this hunk via the powerpc tree.
tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test.c line 15
Quoted 11 lines
tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test.c +0
-1@@ -11,7 +11,6 @@#include <sys/wait.h> #include <unistd.h> #include <setjmp.h> -#include <signal.h> #include "ebb.h"
cheers
Quoted 11 lines · Michael Ellerman
Quoted 5 lines · Souptick Joarder
Remove duplicate headers which are included twice.
Signed-off-by Sabyasachi Gupta <[email protected]>Signed-off-by Souptick Joarder <[email protected]>---
...
Quoted 1 line
tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test.c | 1 -I took this hunk via the powerpc tree.
How about taking this entirely through a single tree ? or Shall I send these changes in different patches ?
Quoted 15 lines
tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test.c line 15
Quoted 12 lines
tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test.c +0
-1@@ -11,7 +11,6 @@#include <sys/wait.h> #include <unistd.h> #include <setjmp.h> -#include <signal.h> #include "ebb.h" cheers
Quoted 9 lines · Souptick Joarder
Quoted 7 lines · Michael Ellerman
Quoted 5 lines · Souptick Joarder
Remove duplicate headers which are included twice.
Signed-off-by Sabyasachi Gupta <[email protected]>Signed-off-by Souptick Joarder <[email protected]>---
Quoted 7 lines
Quoted 4 lines
...
Quoted 1 line
tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test.c | 1 -I took this hunk via the powerpc tree.
How about taking this entirely through a single tree ? or Shall I send these changes in different patches ?
If no comment, can we get this patch in queue for 5.1 ?
Quoted 16 lines
Quoted 16 lines
tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test.c line 15
Quoted 13 lines
tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test.c +0
-1@@ -11,7 +11,6 @@#include <sys/wait.h> #include <unistd.h> #include <setjmp.h> -#include <signal.h> #include "ebb.h" cheers
Quoted 12 lines · Souptick Joarder
Quoted 10 lines · Souptick Joarder
Quoted 8 lines · Michael Ellerman
Quoted 5 lines · Souptick Joarder
Remove duplicate headers which are included twice.
Signed-off-by Sabyasachi Gupta <[email protected]>Signed-off-by Souptick Joarder <[email protected]>---
...
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test.c | 1 -I took this hunk via the powerpc tree.
How about taking this entirely through a single tree ? or Shall I send these changes in different patches ?
If no comment, can we get this patch in queue for 5.1 ?
I will drop this patch as we have submitted these changes in different patches. ( Except the one picked by Michael).
Quoted 17 lines
Quoted 17 lines
Quoted 17 lines
Quoted 8 lines
tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test.c +0
-0tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test.c line 15
Quoted 6 lines
tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test.c +0
-1@@ -11,7 +11,6 @@#include <sys/wait.h> #include <unistd.h> #include <setjmp.h> -#include <signal.h> #include "ebb.h" cheers