On Mon, Jun 18, 2012 at 10:53:44PM +0300, Dan Carpenter wrote: > Gar... I have no idea. That seems like an issue in sparse. > > Does anyone know why MOD_NORETURN gets set for: > extern void my_exit(const char*, ...) __attribute__ ((__noreturn__)); > > but not for: > extern __attribute__ ((__noreturn__)) void my_exit(const char*, ...); > > GCC seems to accept both formats. I wonder if the latter gets incorrectly parsed as though the attribute attached to "void" rather than "my_exit"? - Josh Triplett -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html