aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/e752x_edac.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/edac/e752x_edac.c b/drivers/edac/e752x_edac.c
index 265cce72497c..66572c5323ad 100644
--- a/drivers/edac/e752x_edac.c
+++ b/drivers/edac/e752x_edac.c
@@ -472,8 +472,7 @@ static inline void membuf_error(u8 errors, int *error_found, int handle_error)
472 do_membuf_error(errors); 472 do_membuf_error(errors);
473} 473}
474 474
475#if 0 475static char *sysbus_message[10] = {
476char *sysbus_message[10] = {
477 "Addr or Request Parity", 476 "Addr or Request Parity",
478 "Data Strobe Glitch", 477 "Data Strobe Glitch",
479 "Addr Strobe Glitch", 478 "Addr Strobe Glitch",
@@ -484,7 +483,6 @@ char *sysbus_message[10] = {
484 "Memory Parity", 483 "Memory Parity",
485 "IO Subsystem Parity" 484 "IO Subsystem Parity"
486}; 485};
487#endif /* 0 */
488 486
489static void do_sysbus_error(int fatal, u32 errors) 487static void do_sysbus_error(int fatal, u32 errors)
490{ 488{
@@ -493,7 +491,7 @@ static void do_sysbus_error(int fatal, u32 errors)
493 for (i = 0; i < 10; i++) { 491 for (i = 0; i < 10; i++) {
494 if (errors & (1 << i)) 492 if (errors & (1 << i))
495 e752x_printk(KERN_WARNING, "%sError System Bus %s\n", 493 e752x_printk(KERN_WARNING, "%sError System Bus %s\n",
496 fatal_message[fatal], global_message[i]); 494 fatal_message[fatal], sysbus_message[i]);
497 } 495 }
498} 496}
499 497