Message ID | 20211119023133.2027-1-chi.minghao@zte.com.cn (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | selftests:kvm: remove unneeded semicolon | expand |
On 11/18/21 7:31 PM, cgel.zte@gmail.com wrote: Missing commit log. Please add one and include information on how you found this problem and tool output. > From: chiminghao <chi.minghao@zte.com.cn> > > Fix the following coccicheck REVIEW: > ./tools/testing/selftests/kvm/access_tracking_perf_test.c: REVIEW Unneeded semicolon > > Reported-by: Zeal Robot <zealci@zte.com.cm> > Signed-off-by: chiminghao <chi.minghao@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 5d95113c7b7c..09bf6c6ca11a 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; > } > 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 5d95113c7b7c..09bf6c6ca11a 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; }