Messages in this thread Patch in this message | | | Date | Fri, 18 Nov 2005 02:41:02 +0100 | From | Adrian Bunk <> | Subject | [-mm patch] kernel/signal.c: fix compile warning |
| |
On Thu, Nov 17, 2005 at 11:18:07AM -0800, Andrew Morton wrote: >... > Changes since 2.6.14-mm2: >... > +sigaction-should-clear-all-signals-on-sig_ign-not-just.patch > > Signal code fix >...
Patches get bonus points when they don't introduce new compile warnings...
<-- snip -->
... CC kernel/signal.o kernel/signal.c: In function 'rm_from_queue_full': kernel/signal.c:638: warning: control may reach end of non-void function 'sigisemptyset' being inlined ...
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.15-rc1-mm1-full/include/linux/signal.h.old 2005-11-18 00:47:49.000000000 +0100 +++ linux-2.6.15-rc1-mm1-full/include/linux/signal.h 2005-11-18 00:52:13.000000000 +0100 @@ -102,6 +102,7 @@ return set->sig[0] == 0; default: _NSIG_WORDS_is_unsupported_size(); + return 0; } } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |