On Wed, Jun 09, 2021 at 12:53:03PM +0300, Dan Carpenter wrote: > This code check "reg" but "ret" was intended so the error handling will > never trigger. > > Fixes: 7c9896e37807 ("net: dsa: qca8k: check return value of read functions correctly") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > --- Reviewed-by: Vladimir Oltean <olteanv@xxxxxxxxx>