diff options
author | Andrew Jones <ajones@ventanamicro.com> | 2023-12-07 16:40:13 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2023-12-13 09:25:15 +0300 |
commit | 3279f526952f82b2967663c36c12a01f125cbbfd (patch) | |
tree | 4932602d80edcf96a6dea70b152c3032cd05ec4a /init | |
parent | a39b6ac3781d46ba18193c9dbb2110f31e9bffe9 (diff) | |
download | linux-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 'init')
0 files changed, 0 insertions, 0 deletions