Re: [PATCH v4 net-next 1/2] net: phy: micrel: Fixed error related to uninitialized symbol ret
From: Andrew Lunn
Date: Mon Dec 05 2022 - 08:37:09 EST
On Mon, Dec 05, 2022 at 04:05:49PM +0530, Divya Koppera wrote:
> Initialized return variable
>
> Fixes Old smatch warnings:
> drivers/net/phy/micrel.c:1750 ksz886x_cable_test_get_status() error:
> uninitialized symbol 'ret'.
I guess this patch has been rebased without the smatch warning being
changed because line 1750 in net-next/main is a blank line between two
functions.
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> Fixes: 21b688dabecb ("net: phy: micrel: Cable Diag feature for lan8814 phy")
> Signed-off-by: Divya Koppera <Divya.Koppera@xxxxxxxxxxxxx>
So once i looked in the correct place:
Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
Andrew