Re: [PATCH v4 2/2] powerpc: Uprobes port to powerpc

From
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date
2012-08-24 07:08:21
Also in
lkml
Reply to
Michael Ellerman, 2012-08-24
On Fri, 2012-08-24 at 11:13 +1000, Michael Ellerman wrote:
Yeah. A NULL regs here is a kernel bug, so I think it's actually
preferable to crash than silently return. 
Or best, if you think there's a remote chance that the bug might hit:

	if (WARN(!regs))
		return

Cheers,
Ben.
Thread (15 messages) 15 messages, 5 authors, last reply 2012-08-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help