Re: [PATCH] kernel: use the gnu89 standard explicitly
From: Al Viro
Date: Sun Oct 19 2014 - 19:26:26 EST
On Mon, Oct 20, 2014 at 02:21:24AM +0300, Kirill A. Shutemov wrote:
> s/C11/C99/
>
> >
> > (rwlock_t) { .raw_lock = { 0 }, }
> >
> > as compound literal (which is not constant) rather than constant
> > initalizer plus a cast.
>
> In some places we can just drop the cast, but it doesn't work everywhere.
> I don't see a way to get pre-c99 semantics here.
I have a moderately bitrotten patchset taking care of that; might make sense
to resurrect it...
--
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/