Re: [PATCH v2] net: lan9303: Fix read error execution path

From: Vladimir Oltean
Date: Fri Dec 09 2022 - 12:07:58 EST


On Fri, Dec 09, 2022 at 09:35:02AM -0600, 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@xxxxxxxxxxxxx>
> ---
> v1->v2:
> corrected email header: net vs net-next, Added 1 maintainer, removed
> blank line.

Actually it's not "net vs net-next", but rather, "nothing vs net-next".
As you can see, the patchwork CI complains that "Target tree name [is]
not specified in the subject".
https://patchwork.kernel.org/project/netdevbpf/patch/20221209153502.7429-1-jerry.ray@xxxxxxxxxxxxx/

Anyway, I think it's quite obvious for maintainers that it's a patch
intended for the net.git tree, so there isn't a reason to resend this
patch, just something to know and to do better in the future.

> No changes to the body of the patch.
> ---

Reviewed-by: Vladimir Oltean <olteanv@xxxxxxxxx>