diff options
28 files changed, 73 insertions, 86 deletions
diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c index 811d3e8e5025..6231cbe6e7c1 100644 --- a/drivers/edac/amd64_edac.c +++ b/drivers/edac/amd64_edac.c | |||
@@ -1050,8 +1050,7 @@ static void k8_map_sysaddr_to_csrow(struct mem_ctl_info *mci, u64 sys_addr, | |||
1050 | page, offset, syndrome, | 1050 | page, offset, syndrome, |
1051 | -1, -1, -1, | 1051 | -1, -1, -1, |
1052 | "failed to map error addr to a node", | 1052 | "failed to map error addr to a node", |
1053 | "", | 1053 | ""); |
1054 | NULL); | ||
1055 | return; | 1054 | return; |
1056 | } | 1055 | } |
1057 | 1056 | ||
@@ -1062,8 +1061,7 @@ static void k8_map_sysaddr_to_csrow(struct mem_ctl_info *mci, u64 sys_addr, | |||
1062 | page, offset, syndrome, | 1061 | page, offset, syndrome, |
1063 | -1, -1, -1, | 1062 | -1, -1, -1, |
1064 | "failed to map error addr to a csrow", | 1063 | "failed to map error addr to a csrow", |
1065 | "", | 1064 | ""); |
1066 | NULL); | ||
1067 | return; | 1065 | return; |
1068 | } | 1066 | } |
1069 | 1067 | ||
@@ -1083,8 +1081,7 @@ static void k8_map_sysaddr_to_csrow(struct mem_ctl_info *mci, u64 sys_addr, | |||
1083 | page, offset, syndrome, | 1081 | page, offset, syndrome, |
1084 | csrow, -1, -1, | 1082 | csrow, -1, -1, |
1085 | "unknown syndrome - possible error reporting race", | 1083 | "unknown syndrome - possible error reporting race", |
1086 | "", | 1084 | ""); |
1087 | NULL); | ||
1088 | return; | 1085 | return; |
1089 | } | 1086 | } |
1090 | } else { | 1087 | } else { |
@@ -1102,7 +1099,7 @@ static void k8_map_sysaddr_to_csrow(struct mem_ctl_info *mci, u64 sys_addr, | |||
1102 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, src_mci, | 1099 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, src_mci, |
1103 | page, offset, syndrome, | 1100 | page, offset, syndrome, |
1104 | csrow, channel, -1, | 1101 | csrow, channel, -1, |
1105 | "", "", NULL); | 1102 | "", ""); |
1106 | } | 1103 | } |
1107 | 1104 | ||
1108 | static int ddr2_cs_size(unsigned i, bool dct_width) | 1105 | static int ddr2_cs_size(unsigned i, bool dct_width) |
@@ -1615,8 +1612,7 @@ static void f1x_map_sysaddr_to_csrow(struct mem_ctl_info *mci, u64 sys_addr, | |||
1615 | page, offset, syndrome, | 1612 | page, offset, syndrome, |
1616 | -1, -1, -1, | 1613 | -1, -1, -1, |
1617 | "failed to map error addr to a csrow", | 1614 | "failed to map error addr to a csrow", |
1618 | "", | 1615 | ""); |
1619 | NULL); | ||
1620 | return; | 1616 | return; |
1621 | } | 1617 | } |
1622 | 1618 | ||
@@ -1631,7 +1627,7 @@ static void f1x_map_sysaddr_to_csrow(struct mem_ctl_info *mci, u64 sys_addr, | |||
1631 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, | 1627 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, |
1632 | page, offset, syndrome, | 1628 | page, offset, syndrome, |
1633 | csrow, chan, -1, | 1629 | csrow, chan, -1, |
1634 | "", "", NULL); | 1630 | "", ""); |
1635 | } | 1631 | } |
1636 | 1632 | ||
1637 | /* | 1633 | /* |
@@ -1917,8 +1913,7 @@ static void amd64_handle_ce(struct mem_ctl_info *mci, struct mce *m) | |||
1917 | 0, 0, 0, | 1913 | 0, 0, 0, |
1918 | -1, -1, -1, | 1914 | -1, -1, -1, |
1919 | "HW has no ERROR_ADDRESS available", | 1915 | "HW has no ERROR_ADDRESS available", |
1920 | "", | 1916 | ""); |
1921 | NULL); | ||
1922 | return; | 1917 | return; |
1923 | } | 1918 | } |
1924 | 1919 | ||
@@ -1946,8 +1941,7 @@ static void amd64_handle_ue(struct mem_ctl_info *mci, struct mce *m) | |||
1946 | 0, 0, 0, | 1941 | 0, 0, 0, |
1947 | -1, -1, -1, | 1942 | -1, -1, -1, |
1948 | "HW has no ERROR_ADDRESS available", | 1943 | "HW has no ERROR_ADDRESS available", |
1949 | "", | 1944 | ""); |
1950 | NULL); | ||
1951 | return; | 1945 | return; |
1952 | } | 1946 | } |
1953 | 1947 | ||
@@ -1966,8 +1960,7 @@ static void amd64_handle_ue(struct mem_ctl_info *mci, struct mce *m) | |||
1966 | page, offset, 0, | 1960 | page, offset, 0, |
1967 | -1, -1, -1, | 1961 | -1, -1, -1, |
1968 | "ERROR ADDRESS NOT mapped to a MC", | 1962 | "ERROR ADDRESS NOT mapped to a MC", |
1969 | "", | 1963 | ""); |
1970 | NULL); | ||
1971 | return; | 1964 | return; |
1972 | } | 1965 | } |
1973 | 1966 | ||
@@ -1981,13 +1974,12 @@ static void amd64_handle_ue(struct mem_ctl_info *mci, struct mce *m) | |||
1981 | page, offset, 0, | 1974 | page, offset, 0, |
1982 | -1, -1, -1, | 1975 | -1, -1, -1, |
1983 | "ERROR ADDRESS NOT mapped to CS", | 1976 | "ERROR ADDRESS NOT mapped to CS", |
1984 | "", | 1977 | ""); |
1985 | NULL); | ||
1986 | } else { | 1978 | } else { |
1987 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, | 1979 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, |
1988 | page, offset, 0, | 1980 | page, offset, 0, |
1989 | csrow, -1, -1, | 1981 | csrow, -1, -1, |
1990 | "", "", NULL); | 1982 | "", ""); |
1991 | } | 1983 | } |
1992 | } | 1984 | } |
1993 | 1985 | ||
diff --git a/drivers/edac/amd76x_edac.c b/drivers/edac/amd76x_edac.c index a015fbaa9552..c7c208eae233 100644 --- a/drivers/edac/amd76x_edac.c +++ b/drivers/edac/amd76x_edac.c | |||
@@ -148,7 +148,7 @@ static int amd76x_process_error_info(struct mem_ctl_info *mci, | |||
148 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, | 148 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, |
149 | mci->csrows[row]->first_page, 0, 0, | 149 | mci->csrows[row]->first_page, 0, 0, |
150 | row, 0, -1, | 150 | row, 0, -1, |
151 | mci->ctl_name, "", NULL); | 151 | mci->ctl_name, ""); |
152 | } | 152 | } |
153 | } | 153 | } |
154 | 154 | ||
@@ -163,7 +163,7 @@ static int amd76x_process_error_info(struct mem_ctl_info *mci, | |||
163 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, | 163 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, |
164 | mci->csrows[row]->first_page, 0, 0, | 164 | mci->csrows[row]->first_page, 0, 0, |
165 | row, 0, -1, | 165 | row, 0, -1, |
166 | mci->ctl_name, "", NULL); | 166 | mci->ctl_name, ""); |
167 | } | 167 | } |
168 | } | 168 | } |
169 | 169 | ||
diff --git a/drivers/edac/cell_edac.c b/drivers/edac/cell_edac.c index 478d8ee434df..165d255e627d 100644 --- a/drivers/edac/cell_edac.c +++ b/drivers/edac/cell_edac.c | |||
@@ -50,7 +50,7 @@ static void cell_edac_count_ce(struct mem_ctl_info *mci, int chan, u64 ar) | |||
50 | /* TODO: Decoding of the error address */ | 50 | /* TODO: Decoding of the error address */ |
51 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, | 51 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, |
52 | csrow->first_page + pfn, offset, syndrome, | 52 | csrow->first_page + pfn, offset, syndrome, |
53 | 0, chan, -1, "", "", NULL); | 53 | 0, chan, -1, "", ""); |
54 | } | 54 | } |
55 | 55 | ||
56 | static void cell_edac_count_ue(struct mem_ctl_info *mci, int chan, u64 ar) | 56 | static void cell_edac_count_ue(struct mem_ctl_info *mci, int chan, u64 ar) |
@@ -72,7 +72,7 @@ static void cell_edac_count_ue(struct mem_ctl_info *mci, int chan, u64 ar) | |||
72 | /* TODO: Decoding of the error address */ | 72 | /* TODO: Decoding of the error address */ |
73 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, | 73 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, |
74 | csrow->first_page + pfn, offset, 0, | 74 | csrow->first_page + pfn, offset, 0, |
75 | 0, chan, -1, "", "", NULL); | 75 | 0, chan, -1, "", ""); |
76 | } | 76 | } |
77 | 77 | ||
78 | static void cell_edac_check(struct mem_ctl_info *mci) | 78 | static void cell_edac_check(struct mem_ctl_info *mci) |
diff --git a/drivers/edac/cpc925_edac.c b/drivers/edac/cpc925_edac.c index a7ea3986d423..32e9c88dbde9 100644 --- a/drivers/edac/cpc925_edac.c +++ b/drivers/edac/cpc925_edac.c | |||
@@ -557,7 +557,7 @@ static void cpc925_mc_check(struct mem_ctl_info *mci) | |||
557 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, | 557 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, |
558 | pfn, offset, syndrome, | 558 | pfn, offset, syndrome, |
559 | csrow, channel, -1, | 559 | csrow, channel, -1, |
560 | mci->ctl_name, "", NULL); | 560 | mci->ctl_name, ""); |
561 | } | 561 | } |
562 | 562 | ||
563 | if (apiexcp & UECC_EXCP_DETECTED) { | 563 | if (apiexcp & UECC_EXCP_DETECTED) { |
@@ -565,7 +565,7 @@ static void cpc925_mc_check(struct mem_ctl_info *mci) | |||
565 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, | 565 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, |
566 | pfn, offset, 0, | 566 | pfn, offset, 0, |
567 | csrow, -1, -1, | 567 | csrow, -1, -1, |
568 | mci->ctl_name, "", NULL); | 568 | mci->ctl_name, ""); |
569 | } | 569 | } |
570 | 570 | ||
571 | cpc925_mc_printk(mci, KERN_INFO, "Dump registers:\n"); | 571 | cpc925_mc_printk(mci, KERN_INFO, "Dump registers:\n"); |
diff --git a/drivers/edac/e752x_edac.c b/drivers/edac/e752x_edac.c index 675ba3c284eb..b5a8bf1292ac 100644 --- a/drivers/edac/e752x_edac.c +++ b/drivers/edac/e752x_edac.c | |||
@@ -374,7 +374,7 @@ static void do_process_ce(struct mem_ctl_info *mci, u16 error_one, | |||
374 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, | 374 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, |
375 | page, offset_in_page(sec1_add << 4), sec1_syndrome, | 375 | page, offset_in_page(sec1_add << 4), sec1_syndrome, |
376 | row, channel, -1, | 376 | row, channel, -1, |
377 | "e752x CE", "", NULL); | 377 | "e752x CE", ""); |
378 | } | 378 | } |
379 | 379 | ||
380 | static inline void process_ce(struct mem_ctl_info *mci, u16 error_one, | 380 | static inline void process_ce(struct mem_ctl_info *mci, u16 error_one, |
@@ -412,7 +412,7 @@ static void do_process_ue(struct mem_ctl_info *mci, u16 error_one, | |||
412 | block_page, | 412 | block_page, |
413 | offset_in_page(error_2b << 4), 0, | 413 | offset_in_page(error_2b << 4), 0, |
414 | row, -1, -1, | 414 | row, -1, -1, |
415 | "e752x UE from Read", "", NULL); | 415 | "e752x UE from Read", ""); |
416 | 416 | ||
417 | } | 417 | } |
418 | if (error_one & 0x0404) { | 418 | if (error_one & 0x0404) { |
@@ -431,7 +431,7 @@ static void do_process_ue(struct mem_ctl_info *mci, u16 error_one, | |||
431 | block_page, | 431 | block_page, |
432 | offset_in_page(error_2b << 4), 0, | 432 | offset_in_page(error_2b << 4), 0, |
433 | row, -1, -1, | 433 | row, -1, -1, |
434 | "e752x UE from Scruber", "", NULL); | 434 | "e752x UE from Scruber", ""); |
435 | } | 435 | } |
436 | } | 436 | } |
437 | 437 | ||
@@ -456,7 +456,7 @@ static inline void process_ue_no_info_wr(struct mem_ctl_info *mci, | |||
456 | edac_dbg(3, "\n"); | 456 | edac_dbg(3, "\n"); |
457 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 0, 0, 0, | 457 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 0, 0, 0, |
458 | -1, -1, -1, | 458 | -1, -1, -1, |
459 | "e752x UE log memory write", "", NULL); | 459 | "e752x UE log memory write", ""); |
460 | } | 460 | } |
461 | 461 | ||
462 | static void do_process_ded_retry(struct mem_ctl_info *mci, u16 error, | 462 | static void do_process_ded_retry(struct mem_ctl_info *mci, u16 error, |
diff --git a/drivers/edac/e7xxx_edac.c b/drivers/edac/e7xxx_edac.c index 3ce661e883f7..c26b69e70039 100644 --- a/drivers/edac/e7xxx_edac.c +++ b/drivers/edac/e7xxx_edac.c | |||
@@ -220,14 +220,14 @@ static void process_ce(struct mem_ctl_info *mci, struct e7xxx_error_info *info) | |||
220 | /* convert syndrome to channel */ | 220 | /* convert syndrome to channel */ |
221 | channel = e7xxx_find_channel(syndrome); | 221 | channel = e7xxx_find_channel(syndrome); |
222 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, page, 0, syndrome, | 222 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, page, 0, syndrome, |
223 | row, channel, -1, "e7xxx CE", "", NULL); | 223 | row, channel, -1, "e7xxx CE", ""); |
224 | } | 224 | } |
225 | 225 | ||
226 | static void process_ce_no_info(struct mem_ctl_info *mci) | 226 | static void process_ce_no_info(struct mem_ctl_info *mci) |
227 | { | 227 | { |
228 | edac_dbg(3, "\n"); | 228 | edac_dbg(3, "\n"); |
229 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 0, 0, 0, -1, -1, -1, | 229 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 0, 0, 0, -1, -1, -1, |
230 | "e7xxx CE log register overflow", "", NULL); | 230 | "e7xxx CE log register overflow", ""); |
231 | } | 231 | } |
232 | 232 | ||
233 | static void process_ue(struct mem_ctl_info *mci, struct e7xxx_error_info *info) | 233 | static void process_ue(struct mem_ctl_info *mci, struct e7xxx_error_info *info) |
@@ -243,7 +243,7 @@ static void process_ue(struct mem_ctl_info *mci, struct e7xxx_error_info *info) | |||
243 | row = edac_mc_find_csrow_by_page(mci, block_page); | 243 | row = edac_mc_find_csrow_by_page(mci, block_page); |
244 | 244 | ||
245 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, block_page, 0, 0, | 245 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, block_page, 0, 0, |
246 | row, -1, -1, "e7xxx UE", "", NULL); | 246 | row, -1, -1, "e7xxx UE", ""); |
247 | } | 247 | } |
248 | 248 | ||
249 | static void process_ue_no_info(struct mem_ctl_info *mci) | 249 | static void process_ue_no_info(struct mem_ctl_info *mci) |
@@ -251,7 +251,7 @@ static void process_ue_no_info(struct mem_ctl_info *mci) | |||
251 | edac_dbg(3, "\n"); | 251 | edac_dbg(3, "\n"); |
252 | 252 | ||
253 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 0, 0, 0, -1, -1, -1, | 253 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 0, 0, 0, -1, -1, -1, |
254 | "e7xxx UE log register overflow", "", NULL); | 254 | "e7xxx UE log register overflow", ""); |
255 | } | 255 | } |
256 | 256 | ||
257 | static void e7xxx_get_error_info(struct mem_ctl_info *mci, | 257 | static void e7xxx_get_error_info(struct mem_ctl_info *mci, |
diff --git a/drivers/edac/edac_core.h b/drivers/edac/edac_core.h index ee25f5483f9b..500ba6698986 100644 --- a/drivers/edac/edac_core.h +++ b/drivers/edac/edac_core.h | |||
@@ -462,8 +462,7 @@ void edac_mc_handle_error(const enum hw_event_mc_err_type type, | |||
462 | const int mid_layer, | 462 | const int mid_layer, |
463 | const int low_layer, | 463 | const int low_layer, |
464 | const char *msg, | 464 | const char *msg, |
465 | const char *other_detail, | 465 | const char *other_detail); |
466 | const void *arch_log); | ||
467 | 466 | ||
468 | /* | 467 | /* |
469 | * edac_device APIs | 468 | * edac_device APIs |
diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c index 91ca4101c789..fb41e38c6891 100644 --- a/drivers/edac/edac_mc.c +++ b/drivers/edac/edac_mc.c | |||
@@ -1044,9 +1044,6 @@ static void edac_ue_error(struct mem_ctl_info *mci, | |||
1044 | * @other_detail: Technical details about the event that | 1044 | * @other_detail: Technical details about the event that |
1045 | * may help hardware manufacturers and | 1045 | * may help hardware manufacturers and |
1046 | * EDAC developers to analyse the event | 1046 | * EDAC developers to analyse the event |
1047 | * @arch_log: Architecture-specific struct that can | ||
1048 | * be used to add extended information to the | ||
1049 | * tracepoint, like dumping MCE registers. | ||
1050 | */ | 1047 | */ |
1051 | void edac_mc_handle_error(const enum hw_event_mc_err_type type, | 1048 | void edac_mc_handle_error(const enum hw_event_mc_err_type type, |
1052 | struct mem_ctl_info *mci, | 1049 | struct mem_ctl_info *mci, |
@@ -1057,8 +1054,7 @@ void edac_mc_handle_error(const enum hw_event_mc_err_type type, | |||
1057 | const int mid_layer, | 1054 | const int mid_layer, |
1058 | const int low_layer, | 1055 | const int low_layer, |
1059 | const char *msg, | 1056 | const char *msg, |
1060 | const char *other_detail, | 1057 | const char *other_detail) |
1061 | const void *arch_log) | ||
1062 | { | 1058 | { |
1063 | /* FIXME: too much for stack: move it to some pre-alocated area */ | 1059 | /* FIXME: too much for stack: move it to some pre-alocated area */ |
1064 | char detail[80], location[80]; | 1060 | char detail[80], location[80]; |
diff --git a/drivers/edac/edac_mc_sysfs.c b/drivers/edac/edac_mc_sysfs.c index 7079a428c8ea..107e7a71678e 100644 --- a/drivers/edac/edac_mc_sysfs.c +++ b/drivers/edac/edac_mc_sysfs.c | |||
@@ -827,7 +827,7 @@ static ssize_t edac_fake_inject_write(struct file *file, | |||
827 | mci->fake_inject_layer[0], | 827 | mci->fake_inject_layer[0], |
828 | mci->fake_inject_layer[1], | 828 | mci->fake_inject_layer[1], |
829 | mci->fake_inject_layer[2], | 829 | mci->fake_inject_layer[2], |
830 | "FAKE ERROR", "for EDAC testing only", NULL); | 830 | "FAKE ERROR", "for EDAC testing only"); |
831 | 831 | ||
832 | return count; | 832 | return count; |
833 | } | 833 | } |
diff --git a/drivers/edac/i3000_edac.c b/drivers/edac/i3000_edac.c index 399aec351aa1..dd07bea34078 100644 --- a/drivers/edac/i3000_edac.c +++ b/drivers/edac/i3000_edac.c | |||
@@ -247,7 +247,7 @@ static int i3000_process_error_info(struct mem_ctl_info *mci, | |||
247 | if ((info->errsts ^ info->errsts2) & I3000_ERRSTS_BITS) { | 247 | if ((info->errsts ^ info->errsts2) & I3000_ERRSTS_BITS) { |
248 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 0, 0, 0, | 248 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 0, 0, 0, |
249 | -1, -1, -1, | 249 | -1, -1, -1, |
250 | "UE overwrote CE", "", NULL); | 250 | "UE overwrote CE", ""); |
251 | info->errsts = info->errsts2; | 251 | info->errsts = info->errsts2; |
252 | } | 252 | } |
253 | 253 | ||
@@ -261,12 +261,12 @@ static int i3000_process_error_info(struct mem_ctl_info *mci, | |||
261 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, | 261 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, |
262 | pfn, offset, 0, | 262 | pfn, offset, 0, |
263 | row, -1, -1, | 263 | row, -1, -1, |
264 | "i3000 UE", "", NULL); | 264 | "i3000 UE", ""); |
265 | else | 265 | else |
266 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, | 266 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, |
267 | pfn, offset, info->derrsyn, | 267 | pfn, offset, info->derrsyn, |
268 | row, multi_chan ? channel : 0, -1, | 268 | row, multi_chan ? channel : 0, -1, |
269 | "i3000 CE", "", NULL); | 269 | "i3000 CE", ""); |
270 | 270 | ||
271 | return 1; | 271 | return 1; |
272 | } | 272 | } |
diff --git a/drivers/edac/i3200_edac.c b/drivers/edac/i3200_edac.c index dfd843a0481b..07ae4426b5df 100644 --- a/drivers/edac/i3200_edac.c +++ b/drivers/edac/i3200_edac.c | |||
@@ -219,7 +219,7 @@ static void i3200_process_error_info(struct mem_ctl_info *mci, | |||
219 | 219 | ||
220 | if ((info->errsts ^ info->errsts2) & I3200_ERRSTS_BITS) { | 220 | if ((info->errsts ^ info->errsts2) & I3200_ERRSTS_BITS) { |
221 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 0, 0, 0, | 221 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 0, 0, 0, |
222 | -1, -1, -1, "UE overwrote CE", "", NULL); | 222 | -1, -1, -1, "UE overwrote CE", ""); |
223 | info->errsts = info->errsts2; | 223 | info->errsts = info->errsts2; |
224 | } | 224 | } |
225 | 225 | ||
@@ -230,13 +230,13 @@ static void i3200_process_error_info(struct mem_ctl_info *mci, | |||
230 | 0, 0, 0, | 230 | 0, 0, 0, |
231 | eccerrlog_row(channel, log), | 231 | eccerrlog_row(channel, log), |
232 | -1, -1, | 232 | -1, -1, |
233 | "i3000 UE", "", NULL); | 233 | "i3000 UE", ""); |
234 | } else if (log & I3200_ECCERRLOG_CE) { | 234 | } else if (log & I3200_ECCERRLOG_CE) { |
235 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, | 235 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, |
236 | 0, 0, eccerrlog_syndrome(log), | 236 | 0, 0, eccerrlog_syndrome(log), |
237 | eccerrlog_row(channel, log), | 237 | eccerrlog_row(channel, log), |
238 | -1, -1, | 238 | -1, -1, |
239 | "i3000 UE", "", NULL); | 239 | "i3000 UE", ""); |
240 | } | 240 | } |
241 | } | 241 | } |
242 | } | 242 | } |
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 | ||
diff --git a/drivers/edac/i5100_edac.c b/drivers/edac/i5100_edac.c index a9b996c8ef2d..1e5c8f668652 100644 --- a/drivers/edac/i5100_edac.c +++ b/drivers/edac/i5100_edac.c | |||
@@ -434,7 +434,7 @@ static void i5100_handle_ce(struct mem_ctl_info *mci, | |||
434 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, | 434 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, |
435 | 0, 0, syndrome, | 435 | 0, 0, syndrome, |
436 | chan, rank, -1, | 436 | chan, rank, -1, |
437 | msg, detail, NULL); | 437 | msg, detail); |
438 | } | 438 | } |
439 | 439 | ||
440 | static void i5100_handle_ue(struct mem_ctl_info *mci, | 440 | static void i5100_handle_ue(struct mem_ctl_info *mci, |
@@ -456,7 +456,7 @@ static void i5100_handle_ue(struct mem_ctl_info *mci, | |||
456 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, | 456 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, |
457 | 0, 0, syndrome, | 457 | 0, 0, syndrome, |
458 | chan, rank, -1, | 458 | chan, rank, -1, |
459 | msg, detail, NULL); | 459 | msg, detail); |
460 | } | 460 | } |
461 | 461 | ||
462 | static void i5100_read_log(struct mem_ctl_info *mci, int chan, | 462 | static void i5100_read_log(struct mem_ctl_info *mci, int chan, |
diff --git a/drivers/edac/i5400_edac.c b/drivers/edac/i5400_edac.c index 90fad3a9c3f7..f2bfc2660158 100644 --- a/drivers/edac/i5400_edac.c +++ b/drivers/edac/i5400_edac.c | |||
@@ -557,7 +557,7 @@ static void i5400_proccess_non_recoverable_info(struct mem_ctl_info *mci, | |||
557 | edac_mc_handle_error(tp_event, mci, 0, 0, 0, | 557 | edac_mc_handle_error(tp_event, mci, 0, 0, 0, |
558 | branch >> 1, -1, rank, | 558 | branch >> 1, -1, rank, |
559 | rdwr ? "Write error" : "Read error", | 559 | rdwr ? "Write error" : "Read error", |
560 | msg, NULL); | 560 | msg); |
561 | } | 561 | } |
562 | 562 | ||
563 | /* | 563 | /* |
@@ -629,7 +629,7 @@ static void i5400_process_nonfatal_error_info(struct mem_ctl_info *mci, | |||
629 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 0, 0, 0, | 629 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 0, 0, 0, |
630 | branch >> 1, channel % 2, rank, | 630 | branch >> 1, channel % 2, rank, |
631 | rdwr ? "Write error" : "Read error", | 631 | rdwr ? "Write error" : "Read error", |
632 | msg, NULL); | 632 | msg); |
633 | 633 | ||
634 | return; | 634 | return; |
635 | } | 635 | } |
diff --git a/drivers/edac/i7300_edac.c b/drivers/edac/i7300_edac.c index 738b8919194f..4a8835fd12bd 100644 --- a/drivers/edac/i7300_edac.c +++ b/drivers/edac/i7300_edac.c | |||
@@ -452,7 +452,7 @@ static void i7300_process_fbd_error(struct mem_ctl_info *mci) | |||
452 | edac_mc_handle_error(HW_EVENT_ERR_FATAL, mci, 0, 0, 0, | 452 | edac_mc_handle_error(HW_EVENT_ERR_FATAL, mci, 0, 0, 0, |
453 | branch, -1, rank, | 453 | branch, -1, rank, |
454 | is_wr ? "Write error" : "Read error", | 454 | is_wr ? "Write error" : "Read error", |
455 | pvt->tmp_prt_buffer, NULL); | 455 | pvt->tmp_prt_buffer); |
456 | 456 | ||
457 | } | 457 | } |
458 | 458 | ||
@@ -499,7 +499,7 @@ static void i7300_process_fbd_error(struct mem_ctl_info *mci) | |||
499 | syndrome, | 499 | syndrome, |
500 | branch >> 1, channel % 2, rank, | 500 | branch >> 1, channel % 2, rank, |
501 | is_wr ? "Write error" : "Read error", | 501 | is_wr ? "Write error" : "Read error", |
502 | pvt->tmp_prt_buffer, NULL); | 502 | pvt->tmp_prt_buffer); |
503 | } | 503 | } |
504 | return; | 504 | return; |
505 | } | 505 | } |
diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c index 0899d7da7248..aba8d5190330 100644 --- a/drivers/edac/i7core_edac.c +++ b/drivers/edac/i7core_edac.c | |||
@@ -1545,7 +1545,7 @@ static void i7core_rdimm_update_errcount(struct mem_ctl_info *mci, | |||
1545 | 1545 | ||
1546 | for (i = 0; i < add; i++) { | 1546 | for (i = 0; i < add; i++) { |
1547 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 0, 0, 0, | 1547 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 0, 0, 0, |
1548 | chan, dimm, -1, "error", "", NULL); | 1548 | chan, dimm, -1, "error", ""); |
1549 | } | 1549 | } |
1550 | } | 1550 | } |
1551 | 1551 | ||
@@ -1801,7 +1801,7 @@ static void i7core_mce_output_error(struct mem_ctl_info *mci, | |||
1801 | m->addr & ~PAGE_MASK, | 1801 | m->addr & ~PAGE_MASK, |
1802 | syndrome, | 1802 | syndrome, |
1803 | channel, dimm, -1, | 1803 | channel, dimm, -1, |
1804 | err, msg, m); | 1804 | err, msg); |
1805 | } | 1805 | } |
1806 | 1806 | ||
1807 | /* | 1807 | /* |
diff --git a/drivers/edac/i82443bxgx_edac.c b/drivers/edac/i82443bxgx_edac.c index 475bde1c4508..1c414a87195e 100644 --- a/drivers/edac/i82443bxgx_edac.c +++ b/drivers/edac/i82443bxgx_edac.c | |||
@@ -159,7 +159,7 @@ static int i82443bxgx_edacmc_process_error_info(struct mem_ctl_info *mci, | |||
159 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, | 159 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, |
160 | page, pageoffset, 0, | 160 | page, pageoffset, 0, |
161 | edac_mc_find_csrow_by_page(mci, page), | 161 | edac_mc_find_csrow_by_page(mci, page), |
162 | 0, -1, mci->ctl_name, "", NULL); | 162 | 0, -1, mci->ctl_name, ""); |
163 | } | 163 | } |
164 | 164 | ||
165 | if (info->eap & I82443BXGX_EAP_OFFSET_MBE) { | 165 | if (info->eap & I82443BXGX_EAP_OFFSET_MBE) { |
@@ -168,7 +168,7 @@ static int i82443bxgx_edacmc_process_error_info(struct mem_ctl_info *mci, | |||
168 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, | 168 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, |
169 | page, pageoffset, 0, | 169 | page, pageoffset, 0, |
170 | edac_mc_find_csrow_by_page(mci, page), | 170 | edac_mc_find_csrow_by_page(mci, page), |
171 | 0, -1, mci->ctl_name, "", NULL); | 171 | 0, -1, mci->ctl_name, ""); |
172 | } | 172 | } |
173 | 173 | ||
174 | return error_found; | 174 | return error_found; |
diff --git a/drivers/edac/i82860_edac.c b/drivers/edac/i82860_edac.c index 832e7dd2c5fa..ff4f590e9b90 100644 --- a/drivers/edac/i82860_edac.c +++ b/drivers/edac/i82860_edac.c | |||
@@ -110,7 +110,7 @@ static int i82860_process_error_info(struct mem_ctl_info *mci, | |||
110 | 110 | ||
111 | if ((info->errsts ^ info->errsts2) & 0x0003) { | 111 | if ((info->errsts ^ info->errsts2) & 0x0003) { |
112 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 0, 0, 0, | 112 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 0, 0, 0, |
113 | -1, -1, -1, "UE overwrote CE", "", NULL); | 113 | -1, -1, -1, "UE overwrote CE", ""); |
114 | info->errsts = info->errsts2; | 114 | info->errsts = info->errsts2; |
115 | } | 115 | } |
116 | 116 | ||
@@ -122,12 +122,12 @@ static int i82860_process_error_info(struct mem_ctl_info *mci, | |||
122 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, | 122 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, |
123 | info->eap, 0, 0, | 123 | info->eap, 0, 0, |
124 | dimm->location[0], dimm->location[1], -1, | 124 | dimm->location[0], dimm->location[1], -1, |
125 | "i82860 UE", "", NULL); | 125 | "i82860 UE", ""); |
126 | else | 126 | else |
127 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, | 127 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, |
128 | info->eap, 0, info->derrsyn, | 128 | info->eap, 0, info->derrsyn, |
129 | dimm->location[0], dimm->location[1], -1, | 129 | dimm->location[0], dimm->location[1], -1, |
130 | "i82860 CE", "", NULL); | 130 | "i82860 CE", ""); |
131 | 131 | ||
132 | return 1; | 132 | return 1; |
133 | } | 133 | } |
diff --git a/drivers/edac/i82875p_edac.c b/drivers/edac/i82875p_edac.c index db64bd74bc54..2e3f306c9c72 100644 --- a/drivers/edac/i82875p_edac.c +++ b/drivers/edac/i82875p_edac.c | |||
@@ -238,7 +238,7 @@ static int i82875p_process_error_info(struct mem_ctl_info *mci, | |||
238 | if ((info->errsts ^ info->errsts2) & 0x0081) { | 238 | if ((info->errsts ^ info->errsts2) & 0x0081) { |
239 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 0, 0, 0, | 239 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 0, 0, 0, |
240 | -1, -1, -1, | 240 | -1, -1, -1, |
241 | "UE overwrote CE", "", NULL); | 241 | "UE overwrote CE", ""); |
242 | info->errsts = info->errsts2; | 242 | info->errsts = info->errsts2; |
243 | } | 243 | } |
244 | 244 | ||
@@ -249,12 +249,12 @@ static int i82875p_process_error_info(struct mem_ctl_info *mci, | |||
249 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, | 249 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, |
250 | info->eap, 0, 0, | 250 | info->eap, 0, 0, |
251 | row, -1, -1, | 251 | row, -1, -1, |
252 | "i82875p UE", "", NULL); | 252 | "i82875p UE", ""); |
253 | else | 253 | else |
254 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, | 254 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, |
255 | info->eap, 0, info->derrsyn, | 255 | info->eap, 0, info->derrsyn, |
256 | row, multi_chan ? (info->des & 0x1) : 0, | 256 | row, multi_chan ? (info->des & 0x1) : 0, |
257 | -1, "i82875p CE", "", NULL); | 257 | -1, "i82875p CE", ""); |
258 | 258 | ||
259 | return 1; | 259 | return 1; |
260 | } | 260 | } |
diff --git a/drivers/edac/i82975x_edac.c b/drivers/edac/i82975x_edac.c index 974d1a2be379..c95ebe5e4d60 100644 --- a/drivers/edac/i82975x_edac.c +++ b/drivers/edac/i82975x_edac.c | |||
@@ -289,7 +289,7 @@ static int i82975x_process_error_info(struct mem_ctl_info *mci, | |||
289 | 289 | ||
290 | if ((info->errsts ^ info->errsts2) & 0x0003) { | 290 | if ((info->errsts ^ info->errsts2) & 0x0003) { |
291 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 0, 0, 0, | 291 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 0, 0, 0, |
292 | -1, -1, -1, "UE overwrote CE", "", NULL); | 292 | -1, -1, -1, "UE overwrote CE", ""); |
293 | info->errsts = info->errsts2; | 293 | info->errsts = info->errsts2; |
294 | } | 294 | } |
295 | 295 | ||
@@ -317,12 +317,12 @@ static int i82975x_process_error_info(struct mem_ctl_info *mci, | |||
317 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, | 317 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, |
318 | page, offst, 0, | 318 | page, offst, 0, |
319 | row, -1, -1, | 319 | row, -1, -1, |
320 | "i82975x UE", "", NULL); | 320 | "i82975x UE", ""); |
321 | else | 321 | else |
322 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, | 322 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, |
323 | page, offst, info->derrsyn, | 323 | page, offst, info->derrsyn, |
324 | row, chan ? chan : 0, -1, | 324 | row, chan ? chan : 0, -1, |
325 | "i82975x CE", "", NULL); | 325 | "i82975x CE", ""); |
326 | 326 | ||
327 | return 1; | 327 | return 1; |
328 | } | 328 | } |
diff --git a/drivers/edac/mpc85xx_edac.c b/drivers/edac/mpc85xx_edac.c index 64b476543248..56e79a053fe6 100644 --- a/drivers/edac/mpc85xx_edac.c +++ b/drivers/edac/mpc85xx_edac.c | |||
@@ -869,13 +869,13 @@ static void mpc85xx_mc_check(struct mem_ctl_info *mci) | |||
869 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, | 869 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, |
870 | pfn, err_addr & ~PAGE_MASK, syndrome, | 870 | pfn, err_addr & ~PAGE_MASK, syndrome, |
871 | row_index, 0, -1, | 871 | row_index, 0, -1, |
872 | mci->ctl_name, "", NULL); | 872 | mci->ctl_name, ""); |
873 | 873 | ||
874 | if (err_detect & DDR_EDE_MBE) | 874 | if (err_detect & DDR_EDE_MBE) |
875 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, | 875 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, |
876 | pfn, err_addr & ~PAGE_MASK, syndrome, | 876 | pfn, err_addr & ~PAGE_MASK, syndrome, |
877 | row_index, 0, -1, | 877 | row_index, 0, -1, |
878 | mci->ctl_name, "", NULL); | 878 | mci->ctl_name, ""); |
879 | 879 | ||
880 | out_be32(pdata->mc_vbase + MPC85XX_MC_ERR_DETECT, err_detect); | 880 | out_be32(pdata->mc_vbase + MPC85XX_MC_ERR_DETECT, err_detect); |
881 | } | 881 | } |
diff --git a/drivers/edac/mv64x60_edac.c b/drivers/edac/mv64x60_edac.c index f54b3cb0a134..e491a297f5ec 100644 --- a/drivers/edac/mv64x60_edac.c +++ b/drivers/edac/mv64x60_edac.c | |||
@@ -615,13 +615,13 @@ static void mv64x60_mc_check(struct mem_ctl_info *mci) | |||
615 | err_addr >> PAGE_SHIFT, | 615 | err_addr >> PAGE_SHIFT, |
616 | err_addr & PAGE_MASK, syndrome, | 616 | err_addr & PAGE_MASK, syndrome, |
617 | 0, 0, -1, | 617 | 0, 0, -1, |
618 | mci->ctl_name, "", NULL); | 618 | mci->ctl_name, ""); |
619 | else /* 2 bit error, UE */ | 619 | else /* 2 bit error, UE */ |
620 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, | 620 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, |
621 | err_addr >> PAGE_SHIFT, | 621 | err_addr >> PAGE_SHIFT, |
622 | err_addr & PAGE_MASK, 0, | 622 | err_addr & PAGE_MASK, 0, |
623 | 0, 0, -1, | 623 | 0, 0, -1, |
624 | mci->ctl_name, "", NULL); | 624 | mci->ctl_name, ""); |
625 | 625 | ||
626 | /* clear the error */ | 626 | /* clear the error */ |
627 | out_le32(pdata->mc_vbase + MV64X60_SDRAM_ERR_ADDR, 0); | 627 | out_le32(pdata->mc_vbase + MV64X60_SDRAM_ERR_ADDR, 0); |
diff --git a/drivers/edac/pasemi_edac.c b/drivers/edac/pasemi_edac.c index 44f73b00df01..04851be51612 100644 --- a/drivers/edac/pasemi_edac.c +++ b/drivers/edac/pasemi_edac.c | |||
@@ -112,14 +112,14 @@ static void pasemi_edac_process_error_info(struct mem_ctl_info *mci, u32 errsta) | |||
112 | MCDEBUG_ERRSTA_RFL_STATUS)) { | 112 | MCDEBUG_ERRSTA_RFL_STATUS)) { |
113 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, | 113 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, |
114 | mci->csrows[cs]->first_page, 0, 0, | 114 | mci->csrows[cs]->first_page, 0, 0, |
115 | cs, 0, -1, mci->ctl_name, "", NULL); | 115 | cs, 0, -1, mci->ctl_name, ""); |
116 | } | 116 | } |
117 | 117 | ||
118 | /* correctable/single-bit errors */ | 118 | /* correctable/single-bit errors */ |
119 | if (errsta & MCDEBUG_ERRSTA_SBE_STATUS) | 119 | if (errsta & MCDEBUG_ERRSTA_SBE_STATUS) |
120 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, | 120 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, |
121 | mci->csrows[cs]->first_page, 0, 0, | 121 | mci->csrows[cs]->first_page, 0, 0, |
122 | cs, 0, -1, mci->ctl_name, "", NULL); | 122 | cs, 0, -1, mci->ctl_name, ""); |
123 | } | 123 | } |
124 | 124 | ||
125 | static void pasemi_edac_check(struct mem_ctl_info *mci) | 125 | static void pasemi_edac_check(struct mem_ctl_info *mci) |
diff --git a/drivers/edac/ppc4xx_edac.c b/drivers/edac/ppc4xx_edac.c index 53519828cc36..67a29201dae7 100644 --- a/drivers/edac/ppc4xx_edac.c +++ b/drivers/edac/ppc4xx_edac.c | |||
@@ -730,7 +730,7 @@ ppc4xx_edac_handle_ce(struct mem_ctl_info *mci, | |||
730 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, | 730 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, |
731 | 0, 0, 0, | 731 | 0, 0, 0, |
732 | row, 0, -1, | 732 | row, 0, -1, |
733 | message, "", NULL); | 733 | message, ""); |
734 | } | 734 | } |
735 | 735 | ||
736 | /** | 736 | /** |
@@ -761,7 +761,7 @@ ppc4xx_edac_handle_ue(struct mem_ctl_info *mci, | |||
761 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, | 761 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, |
762 | page, offset, 0, | 762 | page, offset, 0, |
763 | row, 0, -1, | 763 | row, 0, -1, |
764 | message, "", NULL); | 764 | message, ""); |
765 | } | 765 | } |
766 | 766 | ||
767 | /** | 767 | /** |
diff --git a/drivers/edac/r82600_edac.c b/drivers/edac/r82600_edac.c index b68e734398ea..aa10178397fe 100644 --- a/drivers/edac/r82600_edac.c +++ b/drivers/edac/r82600_edac.c | |||
@@ -183,7 +183,7 @@ static int r82600_process_error_info(struct mem_ctl_info *mci, | |||
183 | page, 0, syndrome, | 183 | page, 0, syndrome, |
184 | edac_mc_find_csrow_by_page(mci, page), | 184 | edac_mc_find_csrow_by_page(mci, page), |
185 | 0, -1, | 185 | 0, -1, |
186 | mci->ctl_name, "", NULL); | 186 | mci->ctl_name, ""); |
187 | } | 187 | } |
188 | 188 | ||
189 | if (info->eapr & BIT(1)) { /* UE? */ | 189 | if (info->eapr & BIT(1)) { /* UE? */ |
@@ -195,7 +195,7 @@ static int r82600_process_error_info(struct mem_ctl_info *mci, | |||
195 | page, 0, 0, | 195 | page, 0, 0, |
196 | edac_mc_find_csrow_by_page(mci, page), | 196 | edac_mc_find_csrow_by_page(mci, page), |
197 | 0, -1, | 197 | 0, -1, |
198 | mci->ctl_name, "", NULL); | 198 | mci->ctl_name, ""); |
199 | } | 199 | } |
200 | 200 | ||
201 | return error_found; | 201 | return error_found; |
diff --git a/drivers/edac/sb_edac.c b/drivers/edac/sb_edac.c index 05955bfda849..ae18d9849cc7 100644 --- a/drivers/edac/sb_edac.c +++ b/drivers/edac/sb_edac.c | |||
@@ -1450,12 +1450,12 @@ static void sbridge_mce_output_error(struct mem_ctl_info *mci, | |||
1450 | edac_mc_handle_error(tp_event, mci, | 1450 | edac_mc_handle_error(tp_event, mci, |
1451 | m->addr >> PAGE_SHIFT, m->addr & ~PAGE_MASK, 0, | 1451 | m->addr >> PAGE_SHIFT, m->addr & ~PAGE_MASK, 0, |
1452 | channel, dimm, -1, | 1452 | channel, dimm, -1, |
1453 | optype, msg, m); | 1453 | optype, msg); |
1454 | return; | 1454 | return; |
1455 | err_parsing: | 1455 | err_parsing: |
1456 | edac_mc_handle_error(tp_event, mci, 0, 0, 0, | 1456 | edac_mc_handle_error(tp_event, mci, 0, 0, 0, |
1457 | -1, -1, -1, | 1457 | -1, -1, -1, |
1458 | msg, "", m); | 1458 | msg, ""); |
1459 | 1459 | ||
1460 | } | 1460 | } |
1461 | 1461 | ||
diff --git a/drivers/edac/tile_edac.c b/drivers/edac/tile_edac.c index fc77f77fa065..0589f56aa568 100644 --- a/drivers/edac/tile_edac.c +++ b/drivers/edac/tile_edac.c | |||
@@ -74,7 +74,7 @@ static void tile_edac_check(struct mem_ctl_info *mci) | |||
74 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, | 74 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, |
75 | 0, 0, 0, | 75 | 0, 0, 0, |
76 | 0, 0, -1, | 76 | 0, 0, -1, |
77 | mci->ctl_name, "", NULL); | 77 | mci->ctl_name, ""); |
78 | } | 78 | } |
79 | } | 79 | } |
80 | 80 | ||
diff --git a/drivers/edac/x38_edac.c b/drivers/edac/x38_edac.c index 0e1581afadaf..3d46d40987af 100644 --- a/drivers/edac/x38_edac.c +++ b/drivers/edac/x38_edac.c | |||
@@ -217,7 +217,7 @@ static void x38_process_error_info(struct mem_ctl_info *mci, | |||
217 | if ((info->errsts ^ info->errsts2) & X38_ERRSTS_BITS) { | 217 | if ((info->errsts ^ info->errsts2) & X38_ERRSTS_BITS) { |
218 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 0, 0, 0, | 218 | edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 0, 0, 0, |
219 | -1, -1, -1, | 219 | -1, -1, -1, |
220 | "UE overwrote CE", "", NULL); | 220 | "UE overwrote CE", ""); |
221 | info->errsts = info->errsts2; | 221 | info->errsts = info->errsts2; |
222 | } | 222 | } |
223 | 223 | ||
@@ -228,13 +228,13 @@ static void x38_process_error_info(struct mem_ctl_info *mci, | |||
228 | 0, 0, 0, | 228 | 0, 0, 0, |
229 | eccerrlog_row(channel, log), | 229 | eccerrlog_row(channel, log), |
230 | -1, -1, | 230 | -1, -1, |
231 | "x38 UE", "", NULL); | 231 | "x38 UE", ""); |
232 | } else if (log & X38_ECCERRLOG_CE) { | 232 | } else if (log & X38_ECCERRLOG_CE) { |
233 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, | 233 | edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, |
234 | 0, 0, eccerrlog_syndrome(log), | 234 | 0, 0, eccerrlog_syndrome(log), |
235 | eccerrlog_row(channel, log), | 235 | eccerrlog_row(channel, log), |
236 | -1, -1, | 236 | -1, -1, |
237 | "x38 CE", "", NULL); | 237 | "x38 CE", ""); |
238 | } | 238 | } |
239 | } | 239 | } |
240 | } | 240 | } |