From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH v2] scsi/bfa: use designated initializers Date: Thu, 13 Apr 2017 09:08:55 +0200 Message-ID: <20170413070855.GB24944@lst.de> References: <20170329205509.GA39525@beast> <20170330081855.GA11344@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Kees Cook Cc: Christoph Hellwig , LKML , Anil Gurumurthy , Sudarsana Kalluru , "James E.J. Bottomley" , "Martin K. Petersen" , "linux-scsi@vger.kernel.org" List-Id: linux-scsi@vger.kernel.org On Wed, Apr 12, 2017 at 05:21:20PM -0700, Kees Cook wrote: > Hrm? This is what the patch already does. It adds them for both > __port_action and struct bfa_module_s. For __port_action it only uses designated initializers for the structures in the array, not the array itself.