From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] drivers/net/wan/z85230.c: Use designated initializers Date: Tue, 01 Aug 2017 15:29:43 -0700 (PDT) Message-ID: <20170801.152943.804666349488319640.davem@davemloft.net> References: <20170731013117.GA67801@beast> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org To: keescook@chromium.org Return-path: In-Reply-To: <20170731013117.GA67801@beast> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Kees Cook Date: Sun, 30 Jul 2017 18:31:17 -0700 > In preparation for the randstruct gcc plugin performing randomization of > structures that are entirely function pointers, use designated initializers > so the compiler doesn't get angry. > > Reported-by: kbuild test robot > Signed-off-by: Kees Cook > --- > This is a prerequisite for the future randstruct fptr randomization. I'd > prefer to carry this in my gcc-plugin tree for v4.14 with an Ack from > someone on net-dev, or if possible, have it applied to v4.13 via net-dev. Please queue this up into the gcc-plugin tree then: Acked-by: David S. Miller It isn't a bug fix so I would only have put it into 'net-next' rather than 'net'. Thanks.