Switch the GHES EDAC memory error reporting functions to use the common CPER ones and get rid of code duplication. [ bp: - rewrite commit message, remove useless text - rip out useless reformatting - align function params on the opening brace - rename function to a more descriptive name - drop useless function exports - handle buffer lengths properly when printing other detail - remove useless casting ]
Showing the changes to include (1 of 4 files). Show all
Unified · Split
| @@ -569,5 +569,7 @@ void cper_print_proc_arm(const char *pfx, · 568 unmodified lines | ||
| 569 | 569 | const struct cper_sec_proc_arm *proc); |
| 570 | 570 | void cper_print_proc_ia(const char *pfx, |
| 571 | 571 | const struct cper_sec_proc_ia *proc); |
| 572 | +int cper_mem_err_location(struct cper_mem_err_compact *mem, char *msg); | |
| 573 | +int cper_dimm_err_location(struct cper_mem_err_compact *mem, char *msg); | |
| 572 | 574 | |
| 573 | 575 | #endif |