From: Roel Kluin Date: Sat, 19 Dec 2009 04:16:10 +0000 (-0800) Subject: broadcom: bcm54xx_shadow_read() errors ignored in bcm54xx_adjust_rxrefclk() X-Git-Tag: Ubuntu-5.13.0-19.19~33223^2~11 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=5ee6f6a17cfde9c3141e4d57cf88b5cdf638b463;p=mirror_ubuntu-jammy-kernel.git broadcom: bcm54xx_shadow_read() errors ignored in bcm54xx_adjust_rxrefclk() If not signed read errors are ignored. Signed-off-by: Roel Kluin Acked-by: Matt Carlson Signed-off-by: David S. Miller --- diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c index f63c96a4ecb4..c13cf64095b6 100644 --- a/drivers/net/phy/broadcom.c +++ b/drivers/net/phy/broadcom.c @@ -326,7 +326,8 @@ error: static void bcm54xx_adjust_rxrefclk(struct phy_device *phydev) { - u32 val, orig; + u32 orig; + int val; bool clk125en = true; /* Abort if we are using an untested phy. */