summaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2016-11-02 13:24:47 +0100
committerThomas Gleixner <tglx@linutronix.de>2016-11-08 17:10:14 +0100
commita9a1c0ee04aa771e5523ae33e458c702261ab547 (patch)
tree8ec82a2c98dfaf66433dcc0fa0cc36d2c0eb06ea /drivers/edac
parent1ce9cd7f9f0b71af7c496b816734bc2dc699363a (diff)
downloadlinux-a9a1c0ee04aa771e5523ae33e458c702261ab547.tar.bz2
x86/RAS: Rename smca_bank_names to smca_names
Make it differ more from struct smca_bank_name for better readability. Signed-off-by: Borislav Petkov <bp@suse.de> Tested-by: Yazen Ghannam <yazen.ghannam@amd.com> Link: http://lkml.kernel.org/r/20161103125556.15482-3-bp@alien8.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/mce_amd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/mce_amd.c b/drivers/edac/mce_amd.c
index 8e96c6ddf272..3dee58583d25 100644
--- a/drivers/edac/mce_amd.c
+++ b/drivers/edac/mce_amd.c
@@ -867,7 +867,7 @@ static void decode_smca_errors(struct mce *m)
return;
bank_type = hwid->bank_type;
- ip_name = smca_bank_names[bank_type].long_name;
+ ip_name = smca_names[bank_type].long_name;
pr_emerg(HW_ERR "%s Extended Error Code: %d\n", ip_name, xec);