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    [from the cache]
©2003-2011 Jasper Spaans