From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936169AbcLTQsi (ORCPT ); Tue, 20 Dec 2016 11:48:38 -0500 Received: from mail-yb0-f193.google.com ([209.85.213.193]:34709 "EHLO mail-yb0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934237AbcLTQsd (ORCPT ); Tue, 20 Dec 2016 11:48:33 -0500 MIME-Version: 1.0 In-Reply-To: References: <20161217010045.GA140343@beast> <20161220071034.GL8176@mwanda> From: Bruce Korb Date: Tue, 20 Dec 2016 08:47:51 -0800 Message-ID: Subject: Re: [PATCH] staging: lustre: ldlm: use designated initializers To: "Hammond, John" Cc: Dan Carpenter , 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 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > "{ NULL }" is valid ISO C, but unfortunately "{}" is not. Just make the thing "static const" and don't use an initializer. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Korb Date: Tue, 20 Dec 2016 16:48:33 -0000 Subject: [lustre-devel] [PATCH] staging: lustre: ldlm: use designated initializers In-Reply-To: References: <20161217010045.GA140343@beast> <20161220071034.GL8176@mwanda> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "Hammond, John" Cc: Dan Carpenter , 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 > > "{ NULL }" is valid ISO C, but unfortunately "{}" is not. Just make the thing "static const" and don't use an initializer.