Re: [PATCH] drivers/net/wan/z85230.c: Use designated initializers

2017-08-01 Thread Kees Cook
On Tue, Aug 1, 2017 at 3:29 PM, David Miller wrote: > 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

Re: [PATCH] drivers/net/wan/z85230.c: Use designated initializers

2017-08-01 Thread David Miller
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:

[PATCH] drivers/net/wan/z85230.c: Use designated initializers

2017-07-30 Thread Kees Cook
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 fpt