[kvm-unit-tests PATCH] Added prefix pop at bottom of DBCN test function.

Cade Richard cade.richard at gmail.com
Sun Aug 25 22:33:09 PDT 2024


Added report prefix pop at bottom of DBCN test function.

Fixes: https://lore.kernel.org/kvm/20240812141354.119889-10-andrew.jones@linux.dev/#t

Signed-off-by: Cade Richard <cade.richard at berkeley.edu>
---
 riscv/sbi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/riscv/sbi.c b/riscv/sbi.c
index 36ddfd48..01697aed 100644
--- a/riscv/sbi.c
+++ b/riscv/sbi.c
@@ -418,6 +418,7 @@ static void check_dbcn(void)
 	report(ret.value == 0, "expected ret.value (%ld)", ret.value);
 
 	report_prefix_pop();
+	report_prefix_pop();
 }
 
 int main(int argc, char **argv)
-- 
2.43.0




More information about the kvm-riscv mailing list