2024-03-15 09:36:45

by Colin Ian King

[permalink] [raw]
Subject: [PATCH][next] KVM: selftests: Remove second semicolon

There is a statement with two semicolons. Remove the second one, it
is redundant.

Signed-off-by: Colin Ian King <[email protected]>
---
tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c b/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c
index d2ea0435f4f7..7d707d8068a4 100644
--- a/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c
+++ b/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c
@@ -125,7 +125,7 @@ struct compat_vcpu_runstate_info {
uint32_t state;
uint64_t state_entry_time;
uint64_t time[5];
-} __attribute__((__packed__));;
+} __attribute__((__packed__));

struct arch_vcpu_info {
unsigned long cr2;
--
2.39.2



2024-04-29 20:48:02

by Sean Christopherson

[permalink] [raw]
Subject: Re: [PATCH][next] KVM: selftests: Remove second semicolon

On Fri, 15 Mar 2024 09:36:29 +0000, Colin Ian King wrote:
> There is a statement with two semicolons. Remove the second one, it
> is redundant.

Applied to kvm-x86 selftests, thanks!

[1/1] KVM: selftests: Remove second semicolon
https://github.com/kvm-x86/linux/commit/d85465f2773d

--
https://github.com/kvm-x86/linux/tree/next