diff options
Diffstat (limited to 'drivers/edac/i5000_edac.c')
-rw-r--r-- | drivers/edac/i5000_edac.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/edac/i5000_edac.c b/drivers/edac/i5000_edac.c index 96431a547e46..0406f0d4dd2f 100644 --- a/drivers/edac/i5000_edac.c +++ b/drivers/edac/i5000_edac.c | |||
@@ -522,7 +522,7 @@ static void i5000_process_fatal_error_info(struct mem_ctl_info *mci, | |||
522 | edac_mc_handle_error(HW_EVENT_ERR_FATAL, mci, 0, 0, 0, | 522 | edac_mc_handle_error(HW_EVENT_ERR_FATAL, mci, 0, 0, 0, |
523 | channel >> 1, channel & 1, rank, | 523 | channel >> 1, channel & 1, rank, |
524 | rdwr ? "Write error" : "Read error", | 524 | rdwr ? "Write error" : "Read error", |
525 | msg, NULL); | 525 | msg); |
526 | } | 526 | } |
527 | 527 | ||
528 | /* | 528 | /* |
@@ -621,7 +621,7 @@ static void i5000_process_nonfatal_error_info(struct mem_ctl_info *mci, | |||
621 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 0, 0, 0, | 621 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 0, 0, 0, |
622 | channel >> 1, -1, rank, | 622 | channel >> 1, -1, rank, |
623 | rdwr ? "Write error" : "Read error", | 623 | rdwr ? "Write error" : "Read error", |
624 | msg, NULL); | 624 | msg); |
625 | } | 625 | } |
626 | 626 | ||
627 | /* Check correctable errors */ | 627 | /* Check correctable errors */ |
@@ -675,7 +675,7 @@ static void i5000_process_nonfatal_error_info(struct mem_ctl_info *mci, | |||
675 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 0, 0, 0, | 675 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 0, 0, 0, |
676 | channel >> 1, channel % 2, rank, | 676 | channel >> 1, channel % 2, rank, |
677 | rdwr ? "Write error" : "Read error", | 677 | rdwr ? "Write error" : "Read error", |
678 | msg, NULL); | 678 | msg); |
679 | } | 679 | } |
680 | 680 | ||
681 | if (!misc_messages) | 681 | if (!misc_messages) |
@@ -720,7 +720,7 @@ static void i5000_process_nonfatal_error_info(struct mem_ctl_info *mci, | |||
720 | /* Call the helper to output message */ | 720 | /* Call the helper to output message */ |
721 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 0, 0, 0, | 721 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 0, 0, 0, |
722 | branch >> 1, -1, -1, | 722 | branch >> 1, -1, -1, |
723 | "Misc error", msg, NULL); | 723 | "Misc error", msg); |
724 | } | 724 | } |
725 | } | 725 | } |
726 | 726 | ||