[PATCH] lib: sbi: Fix missing space

Dong Du dd_nirvana at sjtu.edu.cn
Thu Nov 25 02:26:31 PST 2021



On Nov 25, 2021, at 6:00 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>

Looks good to me.

Reviewed-by: Dong Du <Dd_nirvana at sjtu.edu.cn>

> ---
> 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