[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3e6d1cb5-8969-1801-812b-fba2673bde42@gmail.com>
Date: Fri, 9 Dec 2022 09:08:20 -0800
From: Florian Fainelli <f.fainelli@...il.com>
To: Jerry Ray <jerry.ray@...rochip.com>, Andrew Lunn <andrew@...n.ch>,
Vladimir Oltean <olteanv@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, jbe@...gutronix.de,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linux@...linux.org.uk
Subject: Re: [PATCH v2] net: lan9303: Fix read error execution path
On 12/9/22 07:35, Jerry Ray wrote:
> This patch fixes an issue where a read failure of a port statistic counter
> will return unknown results. While it is highly unlikely the read will
> ever fail, it is much cleaner to return a zero for the stat count.
>
> Fixes: a1292595e006 ("net: dsa: add new DSA switch driver for the SMSC-LAN9303")
> Signed-off-by: Jerry Ray <jerry.ray@...rochip.com>
Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists