Re: [PATCH] staging: lustre: ldlm: use designated initializers
From: Dan Carpenter
Date: Tue Dec 20 2016 - 13:53:32 EST
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