Skip to contentSkip to conversation

selftests:kvm: remove unneeded semicolon

PATCH In review [email protected] 2 participants 2 messages Nov 19, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests:kvm: remove unneeded semicolon

From: chiminghao <[email protected]>

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

---
 tools/testing/selftests/kvm/access_tracking_perf_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/kvm/access_tracking_perf_test.c +1 -1
index 5d95113c7b7c..09bf6c6ca11a 100644
@@ -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;
 	}
Signature · 1 line
2.25.1
maintainer
#1 lore raw

On 11/18/21 7:31 PM, [email protected] wrote:

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

Quoted 17 lines

From: chiminghao <[email protected]>

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

---
  tools/testing/selftests/kvm/access_tracking_perf_test.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/kvm/access_tracking_perf_test.c +0 -0
index 5d95113c7b7c..09bf6c6ca11a 100644

tools/testing/selftests/kvm/access_tracking_perf_test.c static void *vcpu_thread_main(void *arg) · line 237

Quoted 8 lines
tools/testing/selftests/kvm/access_tracking_perf_test.c +1 -1
@@ -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