From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Date: Tue, 20 Dec 2016 21:52:40 +0300 Subject: [lustre-devel] [PATCH] staging: lustre: ldlm: use designated initializers In-Reply-To: References: <20161217010045.GA140343@beast> <20161220071034.GL8176@mwanda> Message-ID: <20161220185240.GK8244@mwanda> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Bruce Korb Cc: "Hammond, John" , James Simmons , "devel@driverdev.osuosl.org" , "Dilger, Andreas" , Kees Cook , Greg Kroah-Hartman , Linux Kernel Mailing List , "Faccini, Bruno" , "Drokin, Oleg" , Vitaly Fertman , "Liu, Emoly" , Lustre Development List 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