Messages in this thread | | | From | Bin Meng <> | Date | Sun, 5 Apr 2020 22:37:10 +0800 | Subject | Re: [PATCH v11 08/11] RISC-V: Export SBI error to linux error mapping function |
| |
On Wed, Mar 18, 2020 at 9:12 AM Atish Patra <atish.patra@wdc.com> 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@wdc.com> > Reviewed-by: Anup Patel <anup.patel@wdc.com> > --- > 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@gmail.com>
| |