Skip to contentSkip to conversation

KVM: selftests: riscv: Remove unneeded semicolon

PATCH In review Jiapeng Chong 3 participants 4 messages May 6, 2022 – May 9, 2022

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

PATCH 1/1 KVM: selftests: riscv: Remove unneeded semicolon

Fix the following coccicheck warnings:

./tools/testing/selftests/kvm/lib/riscv/processor.c:353:3-4: Unneeded semicolon.

---
 tools/testing/selftests/kvm/lib/riscv/processor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/kvm/lib/riscv/processor.c +1 -1
index 3961487a4870..e17333518af2 100644
@@ -350,7 +350,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));
 	}
 
Signature · 1 line
2.20.1.7.g153144c
maintainer
#1 lore raw
Quoted 8 lines · Jiapeng Chong

Fix the following coccicheck warnings:

./tools/testing/selftests/kvm/lib/riscv/processor.c:353:3-4: Unneeded semicolon.

In future, please CC [email protected] for KVM RISC-V related patches.

I have queued this patch for 5.19

Thanks,
Anup

Quoted 18 lines
---
 tools/testing/selftests/kvm/lib/riscv/processor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/kvm/lib/riscv/processor.c +1 -2
index 3961487a4870..e17333518af2 100644
@@ -350,7 +350,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));
        }
 
--
Quoted 2 lines

2.20.1.7.g153144c

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv

#2 lore raw
Quoted 5 lines · Anup Patel
Quoted 3 lines · Jiapeng Chong

Fix the following coccicheck warnings:

Quoted 8 lines
Quoted 5 lines

./tools/testing/selftests/kvm/lib/riscv/processor.c:353:3-4: Unneeded semicolon.

In future, please CC [email protected] for KVM RISC-V related patches.

Perhaps add or update some MAINTAINERS entry as this list is not currently specified by:

$ ./scripts/get_maintainer.pl -f tools/testing/selftests/kvm/lib/riscv/processor.c --nogit --nogit-fallback
Paolo Bonzini <[email protected]> (supporter:KERNEL VIRTUAL MACHINE (KVM))
Shuah Khan <[email protected]> (maintainer:KERNEL SELFTEST FRAMEWORK)
Paul Walmsley <[email protected]> (supporter:RISC-V ARCHITECTURE)
Palmer Dabbelt <[email protected]> (supporter:RISC-V ARCHITECTURE)
Albert Ou <[email protected]> (supporter:RISC-V ARCHITECTURE)
[email protected] (open list:KERNEL VIRTUAL MACHINE (KVM))
[email protected] (open list:KERNEL SELFTEST FRAMEWORK)
[email protected] (open list:RISC-V ARCHITECTURE)
[email protected] (open list)
$
maintainer
#3 lore raw
Quoted 19 lines · Joe Perches
Quoted 5 lines · Anup Patel
Quoted 3 lines · Jiapeng Chong

Fix the following coccicheck warnings:

Quoted 8 lines
Quoted 5 lines

./tools/testing/selftests/kvm/lib/riscv/processor.c:353:3-4: Unneeded semicolon.

In future, please CC [email protected] for KVM RISC-V related patches.

Perhaps add or update some MAINTAINERS entry as this list is not currently specified by:

Quoted 11 lines
$ ./scripts/get_maintainer.pl -f tools/testing/selftests/kvm/lib/riscv/processor.c --nogit --nogit-fallback
Paolo Bonzini <[email protected]> (supporter:KERNEL VIRTUAL MACHINE (KVM))
Shuah Khan <[email protected]> (maintainer:KERNEL SELFTEST FRAMEWORK)
Paul Walmsley <[email protected]> (supporter:RISC-V ARCHITECTURE)
Palmer Dabbelt <[email protected]> (supporter:RISC-V ARCHITECTURE)
Albert Ou <[email protected]> (supporter:RISC-V ARCHITECTURE)
[email protected] (open list:KERNEL VIRTUAL MACHINE (KVM))
[email protected] (open list:KERNEL SELFTEST FRAMEWORK)
[email protected] (open list:RISC-V ARCHITECTURE)
[email protected] (open list)
$

Ahh, I see. I will certainly update the MAINTAINERS entry for KVM RISC-V selftests.

Thanks,
Anup

Quoted 2 lines

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv