diff options
author | Andrew Jones <[email protected]> | 2023-12-07 14:40:13 +0100 |
---|---|---|
committer | Anup Patel <[email protected]> | 2023-12-13 11:55:15 +0530 |
commit | 3279f526952f82b2967663c36c12a01f125cbbfd (patch) | |
tree | 4932602d80edcf96a6dea70b152c3032cd05ec4a /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | a39b6ac3781d46ba18193c9dbb2110f31e9bffe9 (diff) |
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 <[email protected]>
Reviewed-by: Haibo Xu <[email protected]>
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions