[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241025092125.GK1202098@kernel.org>
Date: Fri, 25 Oct 2024 10:21:25 +0100
From: Simon Horman <horms@...nel.org>
To: Rosen Penev <rosenp@...il.com>
Cc: netdev@...r.kernel.org, Manish Chopra <manishc@...vell.com>,
Rahul Verma <rahulv@...vell.com>,
"supporter:NETXEN (1/10) GbE SUPPORT" <GR-Linux-NIC-Dev@...vell.com>,
Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Shahed Shaikh <shshaikh@...vell.com>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH net-next] net: qlogic: use ethtool string helpers
On Thu, Oct 24, 2024 at 12:55:34PM -0700, Rosen Penev wrote:
> The latter is the preferred way to copy ethtool strings.
>
> Avoids manually incrementing the pointer. Cleans up the code quite well.
>
> Signed-off-by: Rosen Penev <rosenp@...il.com>
> ---
> .../qlogic/netxen/netxen_nic_ethtool.c | 14 ++---
> .../net/ethernet/qlogic/qede/qede_ethtool.c | 34 +++++------
> .../ethernet/qlogic/qlcnic/qlcnic_ethtool.c | 60 +++++++++----------
I do suspect some of these drivers are quite old, and
we would be better off restricting changes to bug fixes
and updates for API changes, rather than cleaning them up.
That said, these changes do seem correct to me.
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists