Re: [PATCH v11 08/11] RISC-V: Export SBI error to linux error mapping function
From: Bin Meng
Date: Sun Apr 05 2020 - 10:37:28 EST
On Wed, Mar 18, 2020 at 9:12 AM Atish Patra <atish.patra@xxxxxxx> wrote:
>
> All SBI related extensions will not be implemented in sbi.c to avoid
> bloating. Thus, sbi_err_map_linux_errno() will be used in other files
> implementing that specific extension.
>
> Export the function so that it can be used later.
>
> Signed-off-by: Atish Patra <atish.patra@xxxxxxx>
> Reviewed-by: Anup Patel <anup.patel@xxxxxxx>
> ---
> arch/riscv/include/asm/sbi.h | 2 ++
> arch/riscv/kernel/sbi.c | 3 ++-
> 2 files changed, 4 insertions(+), 1 deletion(-)
>
Reviewed-by: Bin Meng <bmeng.cn@xxxxxxxxx>