lkml.org 
[lkml]   [2012]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v3 26/31] edac_mc: Fix the enable label filter logic
    Date
    Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
    ---
    drivers/edac/edac_mc.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c
    index c1a34b9..5326b6b 100644
    --- a/drivers/edac/edac_mc.c
    +++ b/drivers/edac/edac_mc.c
    @@ -953,7 +953,7 @@ void edac_mc_handle_error(const enum hw_event_mc_err_type type,
    */
    pos[i] = -1;
    }
    - if (pos[i] > 0)
    + if (pos[i] >= 0)
    enable_filter = true;
    }

    --
    1.7.8


    \
     
     \ /
      Last update: 2012-02-10 01:07    [W:0.021 / U:10.952 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site