projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7934b7
)
EDAC, amd64: Rename __log_bus_error() to be more specific
author
Yazen Ghannam
<Yazen.Ghannam@amd.com>
Thu, 17 Nov 2016 22:57:31 +0000
(17:57 -0500)
committer
Borislav Petkov
<bp@suse.de>
Mon, 21 Nov 2016 09:42:55 +0000
(10:42 +0100)
We only use __log_bus_error() to log DRAM ECC errors, so let's change
the name to reflect this. We'll also use this function for DRAM ECC
errors on Fam17h, but we'll call it from a different function than
decode_bus_error().
Signed-off-by: Yazen Ghannam <Yazen.Ghannam@amd.com>
Cc: Aravind Gopalakrishnan <aravindksg.lkml@gmail.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link:
http://lkml.kernel.org/r/1479423463-8536-6-git-send-email-Yazen.Ghannam@amd.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/amd64_edac.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/edac/amd64_edac.c
b/drivers/edac/amd64_edac.c
index a38b82de0b6f76ed453b701dec83197bf89afac9..aaff0b9cdaa81b97542b691d1da3e32400d1df37 100644
(file)
--- a/
drivers/edac/amd64_edac.c
+++ b/
drivers/edac/amd64_edac.c
@@
-2155,7
+2155,7
@@
static int get_channel_from_ecc_syndrome(struct mem_ctl_info *mci, u16 syndrome)
return map_err_sym_to_channel(err_sym, pvt->ecc_sym_sz);
}
-static void __log_
bus
_error(struct mem_ctl_info *mci, struct err_info *err,
+static void __log_
ecc
_error(struct mem_ctl_info *mci, struct err_info *err,
u8 ecc_type)
{
enum hw_event_mc_err_type err_type;
@@
-2227,7
+2227,7
@@
static inline void decode_bus_error(int node_id, struct mce *m)
pvt->ops->map_sysaddr_to_csrow(mci, sys_addr, &err);
- __log_
bus
_error(mci, &err, ecc_type);
+ __log_
ecc
_error(mci, &err, ecc_type);
}
/*