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

From: Alan Cox
Date: Wed Oct 01 2008 - 11:41:50 EST


> 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 ?

> > (Besides which last time I checked current gcc could figure that one
> > out)
>
> that would indeed moot the patch.

I'll re-check that before rejecting the patch definitively just to be
sure.

Alan
--
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/