tools: selftests: Remove unnecessary semicolons
Subsystems (6)
PATCH 1/1 tools: selftests: Remove unnecessary semicolons
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the semantic patch at scripts/coccinelle/misc/semicolon.cocci.
Signed-off-by Thorsten Blum <[email protected]>
--- tools/testing/selftests/bpf/benchs/bench_local_storage_create.c | 2 +- tools/testing/selftests/kvm/access_tracking_perf_test.c | 2 +- tools/testing/selftests/timers/nanosleep.c | 2 +- tools/testing/selftests/timers/nsleep-lat.c | 2 +- tools/testing/selftests/timers/set-timer-lat.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
tools/testing/selftests/bpf/benchs/bench_local_storage_create.c +1 -1
@@ -186,7 +186,7 @@ static void *task_producer(void *input)for (i =0 ; i < batch_sz; i++) {if (!pthd_results[i]) -pthread_join (pthds[i],NULL );; +pthread_join (pthds[i],NULL ); } }
tools/testing/selftests/kvm/access_tracking_perf_test.c +1 -1
@@ -239,7 +239,7 @@ static void vcpu_thread_main(struct memstress_vcpu_args *vcpu_args)case ITERATION_MARK_IDLE :mark_vcpu_memory_idle (vm, vcpu_args);break ; - }; + } vcpu_last_completed_iteration[vcpu_idx] = current_iteration; }
tools/testing/selftests/timers/nanosleep.c +1 -1
@@ -72,7 +72,7 @@ char *clockstring(int clockid)return "CLOCK_BOOTTIME_ALARM" ;case CLOCK_TAI :return "CLOCK_TAI" ; - }; + }return "UNKNOWN_CLOCKID" ; }
tools/testing/selftests/timers/nsleep-lat.c +1 -1
@@ -72,7 +72,7 @@ char *clockstring(int clockid)return "CLOCK_BOOTTIME_ALARM" ;case CLOCK_TAI :return "CLOCK_TAI" ; - }; + }return "UNKNOWN_CLOCKID" ; }
tools/testing/selftests/timers/set-timer-lat.c +1 -1
@@ -80,7 +80,7 @@ char *clockstring(int clockid)return "CLOCK_BOOTTIME_ALARM" ;case CLOCK_TAI :return "CLOCK_TAI" ; - }; + }return "UNKNOWN_CLOCKID" ; }
Signature · 1 line
2.43.0
Shuah Khan
maintainerQuoted 12 lines · Thorsten Blum
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the semantic patch at
scripts/coccinelle/misc/semicolon.cocci.Signed-off-by Thorsten Blum <[email protected]>--- tools/testing/selftests/bpf/benchs/bench_local_storage_create.c | 2 +- tools/testing/selftests/kvm/access_tracking_perf_test.c | 2 +- tools/testing/selftests/timers/nanosleep.c | 2 +- tools/testing/selftests/timers/nsleep-lat.c | 2 +- tools/testing/selftests/timers/set-timer-lat.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
Thank you for finding the problems and fixing them.
Please split these up and generate separate patches. Run getmaintainers.pl to get the right people to send the patch.
Taking all these changes in one single patch will result in conflicts between the trees and more importantly if changes to one file have to reverted for some reason, it makes it easier have separate patches.
thanks,
-- Shuah