summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAndrew Jones <ajones@ventanamicro.com>2023-12-07 16:40:13 +0300
committerAnup Patel <anup@brainfault.org>2023-12-13 09:25:15 +0300
commit3279f526952f82b2967663c36c12a01f125cbbfd (patch)
tree4932602d80edcf96a6dea70b152c3032cd05ec4a /arch
parenta39b6ac3781d46ba18193c9dbb2110f31e9bffe9 (diff)
downloadlinux-3279f526952f82b2967663c36c12a01f125cbbfd.tar.xz
KVM: riscv: selftests: Fix get-reg-list print_reg defaults
print_reg() will print everything it knows when it encounters a register ID it's unfamiliar with in the default cases of its decoding switches. Fix several issues with these (until now, never tested) paths; missing newlines in printfs, missing complement operator in mask, and missing return in order to avoid continuing to decode. Fixes: 62d0c458f828 ("KVM: riscv: selftests: get-reg-list print_reg should never fail") Signed-off-by: Andrew Jones <ajones@ventanamicro.com> Reviewed-by: Haibo Xu <haibo1.xu@intel.com> Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions