From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756254AbdDMHJA (ORCPT ); Thu, 13 Apr 2017 03:09:00 -0400 Received: from verein.lst.de ([213.95.11.211]:36222 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756161AbdDMHI5 (ORCPT ); Thu, 13 Apr 2017 03:08:57 -0400 Date: Thu, 13 Apr 2017 09:08:55 +0200 From: Christoph Hellwig To: Kees Cook Cc: Christoph Hellwig , LKML , Anil Gurumurthy , Sudarsana Kalluru , "James E.J. Bottomley" , "Martin K. Petersen" , "linux-scsi@vger.kernel.org" Subject: Re: [PATCH v2] scsi/bfa: use designated initializers 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 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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.