[RFC 03/14] lib: sbi: Remove stray '\' character
Xiang W
wxjstz at 126.com
Mon Apr 19 04:46:15 BST 2021
在 2021-03-19五的 15:12 -0700,Atish Patra写道:
> Signed-off-by: Atish Patra <atish.patra at wdc.com>
Look good to me.
Reviewed-by: Xiang W <wxjstz at 126.com>
Regards,
Xiang W
> ---
> 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