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 majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/