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_trap.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_trap.c')
-rw-r--r-- | lib/sbi/sbi_trap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sbi/sbi_trap.c b/lib/sbi/sbi_trap.c index d5ab24b..b5fbc5e 100644 --- a/lib/sbi/sbi_trap.c +++ b/lib/sbi/sbi_trap.c @@ -178,7 +178,7 @@ int sbi_trap_redirect(struct sbi_trap_regs *regs, regs->mstatus &= ~MSTATUS_MPP; regs->mstatus |= (PRV_S << MSTATUS_MPP_SHIFT); - /* Set SPP for S-mode*/ + /* Set SPP for S-mode */ regs->mstatus &= ~MSTATUS_SPP; if (prev_mode == PRV_S) regs->mstatus |= (1UL << MSTATUS_SPP_SHIFT); |