[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
    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    [W:0.021 / U:3.784 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site