diff options
author | Atish Patra <atish.patra@wdc.com> | 2019-11-25 19:24:29 -0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2019-11-26 16:17:52 +0530 |
commit | ab14f94a8ca3acf1b746b854612f44b7f432a522 (patch) | |
tree | af1a4e56b5cb3e71b14b0ae84366c2c69914b9cd /lib/sbi/sbi_ecall.c | |
parent | c96cc03fcc2723fa007b65e5ae6fe2673ea41413 (diff) |
lib: Fix probe extension
The break statement is missing in base extension function handling.
Fix the typo.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Xiang Wang <merle@hardenedlinux.org>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'lib/sbi/sbi_ecall.c')
-rw-r--r-- | lib/sbi/sbi_ecall.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sbi/sbi_ecall.c b/lib/sbi/sbi_ecall.c index 913e8db..785786f 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; } |