Re: [PATCH ethtool 6/7] ioctl: convert cmdline_info arrays to named initializers

2020-08-10 Thread Andrew Lunn
On Sun, Aug 09, 2020 at 11:24:35PM +0200, Michal Kubecek wrote: > To get rid of remaining "missing field initializer" compiler warnings, > convert arrays of struct cmdline_info used for command line parser to > named initializers. This also makes the initializers easier to read. > > This commit sh

[PATCH ethtool 6/7] ioctl: convert cmdline_info arrays to named initializers

2020-08-09 Thread Michal Kubecek
To get rid of remaining "missing field initializer" compiler warnings, convert arrays of struct cmdline_info used for command line parser to named initializers. This also makes the initializers easier to read. This commit should have no effect on resulting code (checked with gcc-11 and -O2). Sign