[<prev] [next>] [day] [month] [year] [list]
Message-ID: <Y4ah4jM8HN5BV4Ed@lunn.ch>
Date: Wed, 30 Nov 2022 01:20:50 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Daniil Tatianin <d-tatianin@...dex-team.ru>
Cc: netdev@...r.kernel.org, Michal Kubecek <mkubecek@...e.cz>,
yc-core@...dex-team.ru, lvc-project@...uxtesting.org
Subject: Re: [PATCH v2 1/3] net/ethtool/ioctl: return -EOPNOTSUPP if we have
no phy stats
On Tue, Nov 29, 2022 at 01:37:59PM +0300, Daniil Tatianin wrote:
> It's not very useful to copy back an empty ethtool_stats struct and
> return 0 if we didn't actually have any stats. This also allows for
> further simplification of this function in the future commits.
>
> Signed-off-by: Daniil Tatianin <d-tatianin@...dex-team.ru>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists