From ab14f94a8ca3acf1b746b854612f44b7f432a522 Mon Sep 17 00:00:00 2001 From: Atish Patra Date: Mon, 25 Nov 2019 19:24:29 -0800 Subject: [PATCH] lib: Fix probe extension The break statement is missing in base extension function handling. Fix the typo. Signed-off-by: Atish Patra Reviewed-by: Xiang Wang Reviewed-by: Anup Patel --- lib/sbi/sbi_ecall.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/sbi/sbi_ecall.c b/lib/sbi/sbi_ecall.c index 913e8db2..785786f2 100644 --- a/lib/sbi/sbi_ecall.c +++ b/lib/sbi/sbi_ecall.c @@ -103,6 +103,7 @@ int sbi_ecall_base_handler(struct sbi_scratch *scratch, break; case SBI_EXT_BASE_PROBE_EXT: ret = sbi_check_extension(scratch, args[0], out_val); + break; default: ret = SBI_ENOTSUPP; }