broadcom: bcm54xx_shadow_read() errors ignored in bcm54xx_adjust_rxrefclk()
Subsystems (4)
PATCH 1/1 broadcom: bcm54xx_shadow_read() errors ignored in bcm54xx_adjust_rxrefclk()
If not signed read errors are ignored.
Signed-off-by Roel Kluin <[email protected]>
---
Found using coccinelle: http://coccinelle.lip6.fr/
drivers/net/phy/broadcom.c +2 -1
@@ -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. */
Quoted 3 lines · Roel Kluin
If not signed read errors are ignored.
Signed-off-by Roel Kluin <[email protected]>
Acked-by Matt Carlson <[email protected]>
Quoted 18 lines
---
Found using coccinelle: http://coccinelle.lip6.fr/drivers/net/phy/broadcom.c +2
-1@@ -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. */
From: "Matt Carlson" <[email protected]>
Date: Thu, 17 Dec 2009 17:41:39 -0800
Quoted 6 lines · Roel Kluin
Quoted 3 lines
If not signed read errors are ignored.
Signed-off-by Roel Kluin <[email protected]>Acked-by Matt Carlson <[email protected]>
Applied, thanks.