lkml.org 
[lkml]   [2009]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] broadcom: bcm54xx_shadow_read() errors ignored in bcm54xx_adjust_rxrefclk()
    If not signed read errors are ignored.

    Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
    ---
    Found using coccinelle: http://coccinelle.lip6.fr/

    diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c
    index f63c96a..c13cf64 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. */

    \
     
     \ /
      Last update: 2009-12-16 14:05    [W:0.083 / U:59.304 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site