Loading drivers/edac/mce_amd.c +7 −7 Original line number Original line Diff line number Diff line Loading @@ -39,29 +39,29 @@ EXPORT_SYMBOL_GPL(amd_unregister_ecc_decoder); */ */ /* transaction type */ /* transaction type */ const char *tt_msgs[] = { "INSN", "DATA", "GEN", "RESV" }; const char * const tt_msgs[] = { "INSN", "DATA", "GEN", "RESV" }; EXPORT_SYMBOL_GPL(tt_msgs); EXPORT_SYMBOL_GPL(tt_msgs); /* cache level */ /* cache level */ const char *ll_msgs[] = { "RESV", "L1", "L2", "L3/GEN" }; const char * const ll_msgs[] = { "RESV", "L1", "L2", "L3/GEN" }; EXPORT_SYMBOL_GPL(ll_msgs); EXPORT_SYMBOL_GPL(ll_msgs); /* memory transaction type */ /* memory transaction type */ const char *rrrr_msgs[] = { const char * const rrrr_msgs[] = { "GEN", "RD", "WR", "DRD", "DWR", "IRD", "PRF", "EV", "SNP" "GEN", "RD", "WR", "DRD", "DWR", "IRD", "PRF", "EV", "SNP" }; }; EXPORT_SYMBOL_GPL(rrrr_msgs); EXPORT_SYMBOL_GPL(rrrr_msgs); /* participating processor */ /* participating processor */ const char *pp_msgs[] = { "SRC", "RES", "OBS", "GEN" }; const char * const pp_msgs[] = { "SRC", "RES", "OBS", "GEN" }; EXPORT_SYMBOL_GPL(pp_msgs); EXPORT_SYMBOL_GPL(pp_msgs); /* request timeout */ /* request timeout */ const char *to_msgs[] = { "no timeout", "timed out" }; const char * const to_msgs[] = { "no timeout", "timed out" }; EXPORT_SYMBOL_GPL(to_msgs); EXPORT_SYMBOL_GPL(to_msgs); /* memory or i/o */ /* memory or i/o */ const char *ii_msgs[] = { "MEM", "RESV", "IO", "GEN" }; const char * const ii_msgs[] = { "MEM", "RESV", "IO", "GEN" }; EXPORT_SYMBOL_GPL(ii_msgs); EXPORT_SYMBOL_GPL(ii_msgs); static const char * const f15h_ic_mce_desc[] = { static const char * const f15h_ic_mce_desc[] = { Loading Loading @@ -101,7 +101,7 @@ static const char * const f15h_cu_mce_desc[] = { "PRB address parity error" "PRB address parity error" }; }; static const char *nb_mce_desc[] = { static const char * const nb_mce_desc[] = { "DRAM ECC error detected on the NB", "DRAM ECC error detected on the NB", "CRC error detected on HT link", "CRC error detected on HT link", "Link-defined sync error packets detected on HT link", "Link-defined sync error packets detected on HT link", Loading drivers/edac/mce_amd.h +6 −6 Original line number Original line Diff line number Diff line Loading @@ -69,12 +69,12 @@ enum rrrr_ids { R4_SNOOP, R4_SNOOP, }; }; extern const char *tt_msgs[]; extern const char * const tt_msgs[]; extern const char *ll_msgs[]; extern const char * const ll_msgs[]; extern const char *rrrr_msgs[]; extern const char * const rrrr_msgs[]; extern const char *pp_msgs[]; extern const char * const pp_msgs[]; extern const char *to_msgs[]; extern const char * const to_msgs[]; extern const char *ii_msgs[]; extern const char * const ii_msgs[]; /* /* * per-family decoder ops * per-family decoder ops Loading Loading
drivers/edac/mce_amd.c +7 −7 Original line number Original line Diff line number Diff line Loading @@ -39,29 +39,29 @@ EXPORT_SYMBOL_GPL(amd_unregister_ecc_decoder); */ */ /* transaction type */ /* transaction type */ const char *tt_msgs[] = { "INSN", "DATA", "GEN", "RESV" }; const char * const tt_msgs[] = { "INSN", "DATA", "GEN", "RESV" }; EXPORT_SYMBOL_GPL(tt_msgs); EXPORT_SYMBOL_GPL(tt_msgs); /* cache level */ /* cache level */ const char *ll_msgs[] = { "RESV", "L1", "L2", "L3/GEN" }; const char * const ll_msgs[] = { "RESV", "L1", "L2", "L3/GEN" }; EXPORT_SYMBOL_GPL(ll_msgs); EXPORT_SYMBOL_GPL(ll_msgs); /* memory transaction type */ /* memory transaction type */ const char *rrrr_msgs[] = { const char * const rrrr_msgs[] = { "GEN", "RD", "WR", "DRD", "DWR", "IRD", "PRF", "EV", "SNP" "GEN", "RD", "WR", "DRD", "DWR", "IRD", "PRF", "EV", "SNP" }; }; EXPORT_SYMBOL_GPL(rrrr_msgs); EXPORT_SYMBOL_GPL(rrrr_msgs); /* participating processor */ /* participating processor */ const char *pp_msgs[] = { "SRC", "RES", "OBS", "GEN" }; const char * const pp_msgs[] = { "SRC", "RES", "OBS", "GEN" }; EXPORT_SYMBOL_GPL(pp_msgs); EXPORT_SYMBOL_GPL(pp_msgs); /* request timeout */ /* request timeout */ const char *to_msgs[] = { "no timeout", "timed out" }; const char * const to_msgs[] = { "no timeout", "timed out" }; EXPORT_SYMBOL_GPL(to_msgs); EXPORT_SYMBOL_GPL(to_msgs); /* memory or i/o */ /* memory or i/o */ const char *ii_msgs[] = { "MEM", "RESV", "IO", "GEN" }; const char * const ii_msgs[] = { "MEM", "RESV", "IO", "GEN" }; EXPORT_SYMBOL_GPL(ii_msgs); EXPORT_SYMBOL_GPL(ii_msgs); static const char * const f15h_ic_mce_desc[] = { static const char * const f15h_ic_mce_desc[] = { Loading Loading @@ -101,7 +101,7 @@ static const char * const f15h_cu_mce_desc[] = { "PRB address parity error" "PRB address parity error" }; }; static const char *nb_mce_desc[] = { static const char * const nb_mce_desc[] = { "DRAM ECC error detected on the NB", "DRAM ECC error detected on the NB", "CRC error detected on HT link", "CRC error detected on HT link", "Link-defined sync error packets detected on HT link", "Link-defined sync error packets detected on HT link", Loading
drivers/edac/mce_amd.h +6 −6 Original line number Original line Diff line number Diff line Loading @@ -69,12 +69,12 @@ enum rrrr_ids { R4_SNOOP, R4_SNOOP, }; }; extern const char *tt_msgs[]; extern const char * const tt_msgs[]; extern const char *ll_msgs[]; extern const char * const ll_msgs[]; extern const char *rrrr_msgs[]; extern const char * const rrrr_msgs[]; extern const char *pp_msgs[]; extern const char * const pp_msgs[]; extern const char *to_msgs[]; extern const char * const to_msgs[]; extern const char *ii_msgs[]; extern const char * const ii_msgs[]; /* /* * per-family decoder ops * per-family decoder ops Loading