Re: [PATCH] selftests:kvm: remove unneeded semicolon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 11/18/21 7:31 PM, cgel.zte@xxxxxxxxx wrote:

Missing commit log. Please add one and include information on
how you found this problem and tool output.

From: chiminghao <chi.minghao@xxxxxxxxxx>

Fix the following coccicheck REVIEW:
./tools/testing/selftests/kvm/access_tracking_perf_test.c: REVIEW Unneeded semicolon

Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
Signed-off-by: chiminghao <chi.minghao@xxxxxxxxxx>
---
  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



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux