RE: [PATCH v1 1/4] x86/mce: Collect error message for severities below MCE_PANIC_SEVERITY
From: Luck, Tony
Date: Tue Feb 11 2025 - 11:51:42 EST
> + char *tmp = *msg, cur_sev = MCE_NO_SEVERITY, sev;
Should cur_sev and sev be of type "int" (since that's the type returned by mce_severity())?
It doesn't matter today since the list of return value does fit into "char", but it is setting up
to fail if that should ever change.
-Tony