Re: [PATCH][net-next] ethtool: Use explicit designated initializers for .cmd

2019-02-27 Thread David Miller
From: Li RongQing Date: Wed, 27 Feb 2019 20:47:57 +0800 > Initialize the .cmd member by using a designated struct > initializer. This fixes warning of missing field initializers, > and makes code a little easier to read. > > Signed-off-by: Li RongQing Applied.

Re: [PATCH][net-next] ethtool: Use explicit designated initializers for .cmd

2019-02-27 Thread Michal Kubecek
On Wed, Feb 27, 2019 at 08:47:57PM +0800, Li RongQing wrote: > Initialize the .cmd member by using a designated struct > initializer. This fixes warning of missing field initializers, > and makes code a little easier to read. > > Signed-off-by: Li RongQing Reviewed-by: Michal Kubecek > --- >

[PATCH][net-next] ethtool: Use explicit designated initializers for .cmd

2019-02-27 Thread Li RongQing
Initialize the .cmd member by using a designated struct initializer. This fixes warning of missing field initializers, and makes code a little easier to read. Signed-off-by: Li RongQing --- net/core/ethtool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/core/ethtoo