diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2020-03-08 20:52:41 -0700 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-03-10 10:27:28 +0530 |
commit | 650c0e525ce60e80b6756aa8cc4eeae5b20ccbd8 (patch) | |
tree | 579e92ff39fa780818fe483337850d28df5ddb15 /lib/sbi/sbi_ecall.c | |
parent | 6e87507db6ce7be39ccccb33d6283814f0283c09 (diff) |
lib: sbi: Fix coding style issues
This fixes various coding style issues found in the SBI codes.
No functional changes.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'lib/sbi/sbi_ecall.c')
-rw-r--r-- | lib/sbi/sbi_ecall.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sbi/sbi_ecall.c b/lib/sbi/sbi_ecall.c index 2383e4f..6d7b152 100644 --- a/lib/sbi/sbi_ecall.c +++ b/lib/sbi/sbi_ecall.c @@ -105,7 +105,8 @@ int sbi_ecall_handler(u32 hartid, ulong mcause, struct sbi_trap_regs *regs, trap.epc = regs->mepc; sbi_trap_redirect(regs, &trap, scratch); } else { - /* This function should return non-zero value only in case of + /* + * This function should return non-zero value only in case of * fatal error. However, there is no good way to distinguish * between a fatal and non-fatal errors yet. That's why we treat * every return value except ETRAP as non-fatal and just return |