Commit 4ab1784b authored by Borislav Petkov's avatar Borislav Petkov

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: default avatarBorislav Petkov <bp@suse.de>
parent b2b3e736
...@@ -849,7 +849,7 @@ static void decode_mc6_mce(struct mce *m) ...@@ -849,7 +849,7 @@ static void decode_mc6_mce(struct mce *m)
} }
/* Decode errors according to Scalable MCA specification */ /* 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; struct smca_hwid *hwid;
unsigned int bank_type; unsigned int bank_type;
...@@ -998,7 +998,7 @@ amd_decode_mce(struct notifier_block *nb, unsigned long val, void *data) ...@@ -998,7 +998,7 @@ amd_decode_mce(struct notifier_block *nb, unsigned long val, void *data)
pr_cont("\n"); pr_cont("\n");
decode_smca_errors(m); decode_smca_error(m);
goto err_code; goto err_code;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment