The first patch of this series adds a helper method to clear multiple prefixes at once. The second patch then uses this new helper method to tidy up the report prefix pops in the RISC-V SBI tests. James Raphael Tiovalen (2): lib/report: Add helper method to clear multiple prefixes riscv: sbi: Tidy up report prefix pops lib/libcflat.h | 1 + lib/report.c | 21 +++++++++++++++------ riscv/sbi.c | 17 +++++------------ 3 files changed, 21 insertions(+), 18 deletions(-) -- 2.43.0