All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] selftests:kvm: remove unneeded semicolon
@ 2021-11-19  2:31 cgel.zte
  2021-11-19 23:37 ` Shuah Khan
  0 siblings, 1 reply; 2+ messages in thread
From: cgel.zte @ 2021-11-19  2:31 UTC (permalink / raw)
  To: pbonzini
  Cc: shuah, kvm, linux-kselftest, linux-kernel, chiminghao, Zeal Robot

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;
 	}
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] selftests:kvm: remove unneeded semicolon
  2021-11-19  2:31 [PATCH] selftests:kvm: remove unneeded semicolon cgel.zte
@ 2021-11-19 23:37 ` Shuah Khan
  0 siblings, 0 replies; 2+ messages in thread
From: Shuah Khan @ 2021-11-19 23:37 UTC (permalink / raw)
  To: cgel.zte, pbonzini
  Cc: shuah, kvm, linux-kselftest, linux-kernel, chiminghao,
	Zeal Robot, Shuah Khan



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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-19 23:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-19  2:31 [PATCH] selftests:kvm: remove unneeded semicolon cgel.zte
2021-11-19 23:37 ` Shuah Khan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.