Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1622765

Re: [PATCH v2] scsi/bfa: use designated initializers

From Christoph Hellwig <hch@lst.de>
Newsgroups linux.kernel
Subject Re: [PATCH v2] scsi/bfa: use designated initializers
Date 2017-04-13 09:10 +0200
Message-ID <tvH3c-7S2-17@gated-at.bofh.it> (permalink)
References <tqsRc-3S4-19@gated-at.bofh.it> <tqDth-3qZ-27@gated-at.bofh.it> <tvAO5-3w4-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2] scsi/bfa: use designated initializers Kees Cook <keescook@chromium.org> - 2017-04-13 02:30 +0200
  Re: [PATCH v2] scsi/bfa: use designated initializers Christoph Hellwig <hch@lst.de> - 2017-04-13 09:10 +0200

csiph-web