[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200810142113.GH2123435@lunn.ch>
Date: Mon, 10 Aug 2020 16:21:13 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Michal Kubecek <mkubecek@...e.cz>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH ethtool 5/7] settings: simplify link_mode_info[]
initializers
On Sun, Aug 09, 2020 at 11:24:32PM +0200, Michal Kubecek wrote:
> Use macro helpers to make link_mode_info[] initializers easier to read and
> less prone to mistakes. As a bonus, this gets rid of "missing field
> initializer" warnings in netlink/settings.c
>
> This commit should have no effect on resulting code (checked with gcc-11
> and -O2).
>
> Signed-off-by: Michal Kubecek <mkubecek@...e.cz>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists