[lustre-devel] [PATCH] staging: lustre: ldlm: use designated initializers

Dan Carpenter dan.carpenter at oracle.com
Tue Dec 20 10:52:40 PST 2016


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


More information about the lustre-devel mailing list