summaryrefslogtreecommitdiffstats
path: root/drivers/edac/mce_amd.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2017-07-25 10:44:59 +0200
committerBorislav Petkov <bp@suse.de>2017-08-21 17:44:09 +0200
commit4ab1784b48b384e52a6539ab10201fed7a3127f5 (patch)
tree514b8d385aa7e7cb4b8dd11d9ac1fe32f9f1a087 /drivers/edac/mce_amd.c
parentb2b3e7362ee7014ad9c40c925a4c27a690dbdd77 (diff)
downloadlinux-4ab1784b48b384e52a6539ab10201fed7a3127f5.tar.bz2
EDAC, mce_amd: Rename decode_smca_errors() to decode_smca_error()
Singular fits better because it decodes a single error. No functionality change. Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/mce_amd.c')
-rw-r--r--drivers/edac/mce_amd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/edac/mce_amd.c b/drivers/edac/mce_amd.c
index e8e9d7df0a6e..94cadd7f69e9 100644
--- a/drivers/edac/mce_amd.c
+++ b/drivers/edac/mce_amd.c
@@ -849,7 +849,7 @@ static void decode_mc6_mce(struct mce *m)
}
/* Decode errors according to Scalable MCA specification */
-static void decode_smca_errors(struct mce *m)
+static void decode_smca_error(struct mce *m)
{
struct smca_hwid *hwid;
unsigned int bank_type;
@@ -998,7 +998,7 @@ amd_decode_mce(struct notifier_block *nb, unsigned long val, void *data)
pr_cont("\n");
- decode_smca_errors(m);
+ decode_smca_error(m);
goto err_code;
}