lkml.org 
[lkml]   [2009]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 14/14] kernel/exit.c and kernel/panic.c: Remove unused NORET_TYPE
From
Date
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..




\
 
 \ /
  Last update: 2009-12-16 19:55    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site