[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141019232617.GL7996@ZenIV.linux.org.uk>
Date: Mon, 20 Oct 2014 00:26:17 +0100
From: Al Viro <viro@...IV.linux.org.uk>
To: "Kirill A. Shutemov" <kirill@...temov.name>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Aaro Koskinen <aaro.koskinen@....fi>,
Andrew Pinski <pinskia@...il.com>,
Sasha Levin <sasha.levin@...cle.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] kernel: use the gnu89 standard explicitly
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@...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