diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2022-05-06 11:45:12 +0200 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2022-05-20 05:38:58 +0200 |
commit | dba90d6fb8b0657d45516bfe1eb8fe83d9e425f8 (patch) | |
tree | 0098107555f48628387379d027a36469431cdd3d | |
parent | KVM: selftests: riscv: Improve unexpected guest trap handling (diff) | |
download | linux-dba90d6fb8b0657d45516bfe1eb8fe83d9e425f8.tar.xz linux-dba90d6fb8b0657d45516bfe1eb8fe83d9e425f8.zip |
KVM: selftests: riscv: Remove unneeded semicolon
Fix the following coccicheck warnings:
./tools/testing/selftests/kvm/lib/riscv/processor.c:353:3-4: Unneeded
semicolon.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
-rw-r--r-- | tools/testing/selftests/kvm/lib/riscv/processor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/kvm/lib/riscv/processor.c b/tools/testing/selftests/kvm/lib/riscv/processor.c index 56e4705f7744..abc0ae5a4fe1 100644 --- a/tools/testing/selftests/kvm/lib/riscv/processor.c +++ b/tools/testing/selftests/kvm/lib/riscv/processor.c @@ -351,7 +351,7 @@ void vcpu_args_set(struct kvm_vm *vm, uint32_t vcpuid, unsigned int num, ...) case 7: id = RISCV_CORE_REG(regs.a7); break; - }; + } set_reg(vm, vcpuid, id, va_arg(ap, uint64_t)); } |