[RFC 03/14] lib: sbi: Remove stray '\' character

Anup Patel Anup.Patel at wdc.com
Thu Apr 8 04:15:28 BST 2021



> -----Original Message-----
> From: Atish Patra <atish.patra at wdc.com>
> Sent: 20 March 2021 03:43
> To: opensbi at lists.infradead.org
> Cc: Atish Patra <Atish.Patra at wdc.com>; Anup Patel <Anup.Patel at wdc.com>
> Subject: [RFC 03/14] lib: sbi: Remove stray '\' character
> 
> Signed-off-by: Atish Patra <atish.patra at wdc.com>

Looks good to me.

Reviewed-by: Anup Patel <anup.patel at wdc.com>

Regards,
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
> 0b3bb6237182..ee11b2133d05 100644
> --- a/lib/sbi/sbi_hart.c
> +++ b/lib/sbi/sbi_hart.c
> @@ -320,7 +320,7 @@ static unsigned long
> hart_pmp_get_allowed_addr(void)
>  	unsigned long val = 0;
>  	struct sbi_trap_info trap = {0};
> 
> -	csr_write_allowed(CSR_PMPADDR0, (ulong)&trap,
> PMP_ADDR_MASK);			\
> +	csr_write_allowed(CSR_PMPADDR0, (ulong)&trap,
> PMP_ADDR_MASK);
>  	if (!trap.cause) {
>  		val = csr_read_allowed(CSR_PMPADDR0, (ulong)&trap);
>  		if (trap.cause)
> --
> 2.25.1




More information about the opensbi mailing list