lkml.org 
[lkml]   [2019]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/4] riscv: remove the switch statement in do_trap_break()
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..

\
 
 \ /
  Last update: 2019-10-07 18:11    [W:0.184 / U:0.844 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site