Re: [PATCH V2 2/2] x86, mce, severities: Define mce_severity function pointer
From: Aravind Gopalakrishnan
Date: Fri Mar 20 2015 - 22:35:47 EST
On 3/20/15 5:31 PM, Luck, Tony wrote:
+ default:
+ WARN_ONCE(1, "WTF!?");
+ break;
You meant to type:
mce_severity = mce_severity_default;
just there, right?
Other function pointers in the mce code like unexpected_machine_check
and default_threshold_interrupt
are assigned to the respective function pointers when they are defined.
So, I just followed a similar assignment for mce_severity_default.
I can do that in the default statement if you prefer.
Thanks,
-Aravind.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/