Re: [PATCH 4/4] riscv: remove the switch statement in do_trap_break()
From: Christoph Hellwig
Date: Mon Oct 07 2019 - 12:10:51 EST
On Mon, Oct 07, 2019 at 09:08:23AM -0700, Paul Walmsley wrote:
> force_sig_fault(SIGTRAP, TRAP_BRKPT,
> (void __user *)(regs->sepc));
No nee for the extra braces, which also means it all fits onto a single
line. You could have just copied what I pasted..