mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-24 15:31:22 +01:00
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>
This commit is contained in:
@@ -103,6 +103,7 @@ int sbi_ecall_base_handler(struct sbi_scratch *scratch,
|
|||||||
break;
|
break;
|
||||||
case SBI_EXT_BASE_PROBE_EXT:
|
case SBI_EXT_BASE_PROBE_EXT:
|
||||||
ret = sbi_check_extension(scratch, args[0], out_val);
|
ret = sbi_check_extension(scratch, args[0], out_val);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
ret = SBI_ENOTSUPP;
|
ret = SBI_ENOTSUPP;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user