Messages in this thread | | | Subject | Re: [PATCH 14/14] kernel/exit.c and kernel/panic.c: Remove unused NORET_TYPE | From | Peter Zijlstra <> | Date | Wed, 16 Dec 2009 19:51:55 +0100 |
| |
On Wed, 2009-12-16 at 00:09 -0800, Joe Perches wrote: > Make the functions match the prototypes in <linux/kernel.h> > It's defined to nothing and useless
Uhm, why not make it useful again and define it to something like:
#define NORET_TYPE __attribute__((noreturn))
except I guess that should come after the function name, not before.
Annotations that tell a particular function is not supposed to exit seems useful to me..
| |