[PATCH v3 26/31] edac_mc: Fix the enable label filter logic

From: Mauro Carvalho Chehab
Date: Thu Feb 09 2012 - 19:04:00 EST


Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/