Re: [PATCH -tip] drivers/serial/8250.c: 'i' may be useduninitialized

From: Ingo Molnar
Date: Thu Oct 02 2008 - 05:01:18 EST



* Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:

> > it cannot be wrapped like that via __foo style notation (which can be
> > used for section tricks), and uninitialized_var() is the accepted
>
> Any particular reason that
>
> #define __used __attribute__((used))
>
> doesn't work ?

ah, if that works then it's a very nice idea!

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/