[PATCH] lib: sbi: Fix missing space

Xiang W wxjstz at 126.com
Thu Nov 25 07:22:53 PST 2021


在 2021-11-25星期四的 13:00 +0300,Nikita Shubin写道:
> From: Nikita Shubin <n.shubin at yadro.com>
> 
> Fix missing space in sbi_hart_pmp_configure
> error printing.
> 
> Signed-off-by: Nikita Shubin <n.shubin at yadro.com>
Look good to me

Reviewed-by: Xiang w <wxjstz at 126.com>
> ---
>  lib/sbi/sbi_hart.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/sbi/sbi_hart.c b/lib/sbi/sbi_hart.c
> index 76ed678..d9a15d9 100644
> --- a/lib/sbi/sbi_hart.c
> +++ b/lib/sbi/sbi_hart.c
> @@ -226,7 +226,7 @@ int sbi_hart_pmp_configure(struct sbi_scratch
> *scratch)
>                         pmp_set(pmp_idx++, pmp_flags, reg->base, reg-
> >order);
>                 else {
>                         sbi_printf("Can not configure pmp for domain
> %s", dom->name);
> -                       sbi_printf("because memory region address %lx
> or size %lx is not in range\n",
> +                       sbi_printf(" because memory region address
> %lx or size %lx is not in range\n",
>                                     reg->base, reg->order);
>                 }
>         }
> -- 
> 2.31.1
> 
> 





More information about the opensbi mailing list