All of lore.kernel.org
 help / color / mirror / Atom feed
* [sparc32] [1/4] svr4_setcontext() void return in function returning non-void
@ 2004-12-21 11:38 William Lee Irwin III
  0 siblings, 0 replies; only message in thread
From: William Lee Irwin III @ 2004-12-21 11:38 UTC (permalink / raw)
  To: sparclinux

This thing needs to return something, so might as well return -EFAULT here.

Index: sparc32-2.6.10-rc3/arch/sparc/kernel/signal.c
=================================--- sparc32-2.6.10-rc3.orig/arch/sparc/kernel/signal.c	2004-12-16 06:19:27.000000000 -0800
+++ sparc32-2.6.10-rc3/arch/sparc/kernel/signal.c	2004-12-21 02:47:13.144646930 -0800
@@ -1016,6 +1016,7 @@
 
 sigsegv_and_return:
 	force_sig(SIGSEGV, current);
+	return -EFAULT;
 }
 
 static inline void

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-12-21 11:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-21 11:38 [sparc32] [1/4] svr4_setcontext() void return in function returning non-void William Lee Irwin III

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.