[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1260989611.21028.232.camel@laptop>
Date: Wed, 16 Dec 2009 19:53:31 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Joe Perches <joe@...ches.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 14/14] kernel/exit.c and kernel/panic.c: Remove unused
NORET_TYPE
On Wed, 2009-12-16 at 19:51 +0100, Peter Zijlstra wrote:
> 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..
Ah, that got hidden in the header and was done in a different patch.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists