* [PATCH][next] RISC-V: KVM: Remove second semicolon
@ 2024-03-15 9:29 Colin Ian King
2024-03-25 8:47 ` Anup Patel
0 siblings, 1 reply; 2+ messages in thread
From: Colin Ian King @ 2024-03-15 9:29 UTC (permalink / raw
To: Anup Patel, Atish Patra, Paul Walmsley, Palmer Dabbelt, Albert Ou,
kvm, kvm-riscv, linux-riscv
Cc: kernel-janitors, linux-kernel
There is a statement with two semicolons. Remove the second one, it
is redundant.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
arch/riscv/kvm/vcpu_onereg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/riscv/kvm/vcpu_onereg.c b/arch/riscv/kvm/vcpu_onereg.c
index f4a6124d25c9..994adc26db4b 100644
--- a/arch/riscv/kvm/vcpu_onereg.c
+++ b/arch/riscv/kvm/vcpu_onereg.c
@@ -986,7 +986,7 @@ static int copy_isa_ext_reg_indices(const struct kvm_vcpu *vcpu,
static inline unsigned long num_isa_ext_regs(const struct kvm_vcpu *vcpu)
{
- return copy_isa_ext_reg_indices(vcpu, NULL);;
+ return copy_isa_ext_reg_indices(vcpu, NULL);
}
static int copy_sbi_ext_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices)
--
2.39.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH][next] RISC-V: KVM: Remove second semicolon
2024-03-15 9:29 [PATCH][next] RISC-V: KVM: Remove second semicolon Colin Ian King
@ 2024-03-25 8:47 ` Anup Patel
0 siblings, 0 replies; 2+ messages in thread
From: Anup Patel @ 2024-03-25 8:47 UTC (permalink / raw
To: Colin Ian King
Cc: Atish Patra, Paul Walmsley, Palmer Dabbelt, Albert Ou, kvm,
kvm-riscv, linux-riscv, kernel-janitors, linux-kernel
On Fri, Mar 15, 2024 at 2:59 PM Colin Ian King <colin.i.king@gmail.com> wrote:
>
> There is a statement with two semicolons. Remove the second one, it
> is redundant.
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Queued this patch for Linux-6.9 fixes.
Thanks,
Anup
> ---
> arch/riscv/kvm/vcpu_onereg.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/riscv/kvm/vcpu_onereg.c b/arch/riscv/kvm/vcpu_onereg.c
> index f4a6124d25c9..994adc26db4b 100644
> --- a/arch/riscv/kvm/vcpu_onereg.c
> +++ b/arch/riscv/kvm/vcpu_onereg.c
> @@ -986,7 +986,7 @@ static int copy_isa_ext_reg_indices(const struct kvm_vcpu *vcpu,
>
> static inline unsigned long num_isa_ext_regs(const struct kvm_vcpu *vcpu)
> {
> - return copy_isa_ext_reg_indices(vcpu, NULL);;
> + return copy_isa_ext_reg_indices(vcpu, NULL);
> }
>
> static int copy_sbi_ext_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices)
> --
> 2.39.2
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-25 8:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-15 9:29 [PATCH][next] RISC-V: KVM: Remove second semicolon Colin Ian King
2024-03-25 8:47 ` Anup Patel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).