Message ID | cf335b749549186343bcb8f73a17c38afe6c5bdd.1629196408.git.jing.yangyang@zte.com.cn (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [linux-next] tools: remove unneeded semicolon | expand |
On 8/19/21 9:38 PM, CGEL wrote: > From: jing yangyang <jing.yangyang@zte.com.cn> > > Eliminate the following coccicheck warning: > > ./tools/testing/selftests/kvm/access_tracking_perf_test.c:234:3-4:Unneeded semicolon > > Reported-by: Zeal Robot <zealci@zte.com.cn> > Signed-off-by: jing yangyang <jing.yangyang@zte.com.cn> > --- > tools/testing/selftests/kvm/access_tracking_perf_test.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/kvm/access_tracking_perf_test.c b/tools/testing/selftests/kvm/access_tracking_perf_test.c > index 71e277c..02a1c0f 100644 > --- a/tools/testing/selftests/kvm/access_tracking_perf_test.c > +++ b/tools/testing/selftests/kvm/access_tracking_perf_test.c > @@ -231,7 +231,7 @@ static void *vcpu_thread_main(void *arg) > case ITERATION_MARK_IDLE: > mark_vcpu_memory_idle(vm, vcpu_id); > break; > - }; > + } > > vcpu_last_completed_iteration[vcpu_id] = current_iteration; > } > We can't accept this patch. The from and Signed-off-by don't match. thanks, -- Shuah
diff --git a/tools/testing/selftests/kvm/access_tracking_perf_test.c b/tools/testing/selftests/kvm/access_tracking_perf_test.c index 71e277c..02a1c0f 100644 --- a/tools/testing/selftests/kvm/access_tracking_perf_test.c +++ b/tools/testing/selftests/kvm/access_tracking_perf_test.c @@ -231,7 +231,7 @@ static void *vcpu_thread_main(void *arg) case ITERATION_MARK_IDLE: mark_vcpu_memory_idle(vm, vcpu_id); break; - }; + } vcpu_last_completed_iteration[vcpu_id] = current_iteration; }