Skip to content

Commit 93e43e5

Browse files
jones-drewsean-jc
authored andcommitted
KVM: selftests: riscv: Remove redundant newlines
TEST_* functions append their own newline. Remove newlines from TEST_* callsites to avoid extra newlines in output. Signed-off-by: Andrew Jones <ajones@ventanamicro.com> Acked-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20231206170241.82801-10-ajones@ventanamicro.com Signed-off-by: Sean Christopherson <seanjc@google.com>
1 parent 95be17e commit 93e43e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/testing/selftests/kvm/lib/riscv/processor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ void vcpu_args_set(struct kvm_vcpu *vcpu, unsigned int num, ...)
327327
int i;
328328

329329
TEST_ASSERT(num >= 1 && num <= 8, "Unsupported number of args,\n"
330-
" num: %u\n", num);
330+
" num: %u", num);
331331

332332
va_start(ap, num);
333333

tools/testing/selftests/kvm/riscv/get-reg-list.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ void finalize_vcpu(struct kvm_vcpu *vcpu, struct vcpu_reg_list *c)
150150

151151
/* Double check whether the desired extension was enabled */
152152
__TEST_REQUIRE(vcpu_has_ext(vcpu, feature),
153-
"%s not available, skipping tests\n", s->name);
153+
"%s not available, skipping tests", s->name);
154154
}
155155
}
156156

0 commit comments

Comments
 (0)