[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161220185240.GK8244@mwanda>
Date: Tue, 20 Dec 2016 21:52:40 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Bruce Korb <bruce.korb@...il.com>
Cc: "Hammond, John" <john.hammond@...el.com>,
James Simmons <jsimmons@...radead.org>,
"devel@...verdev.osuosl.org" <devel@...verdev.osuosl.org>,
"Dilger, Andreas" <andreas.dilger@...el.com>,
Kees Cook <keescook@...omium.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"Faccini, Bruno" <bruno.faccini@...el.com>,
"Drokin, Oleg" <oleg.drokin@...el.com>,
Vitaly Fertman <vitaly_fertman@...atex.com>,
"Liu, Emoly" <emoly.liu@...el.com>,
Lustre Development List <lustre-devel@...ts.lustre.org>
Subject: Re: [PATCH] staging: lustre: ldlm: use designated initializers
On Tue, Dec 20, 2016 at 08:47:51AM -0800, Bruce Korb wrote:
> >
> > "{ NULL }" is valid ISO C, but unfortunately "{}" is not.
>
> Just make the thing "static const" and don't use an initializer.
That also works, of course.
regards,
dan carpenter
Powered by blists - more mailing lists