[PATCH] lib: sbi: Fix missing space

Anup Patel anup at brainfault.org
Mon Nov 29 21:12:46 PST 2021


On Thu, Nov 25, 2021 at 3:30 PM Nikita Shubin <nikita.shubin at maquefel.me> wrote:
>
> 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>

Applied this patch to the riscv/opensbi repo.

Thanks,
Anup

> ---
>  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
>
>
> --
> opensbi mailing list
> opensbi at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/opensbi



More information about the opensbi mailing list