lkml.org 
[lkml]   [2015]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V2 2/2] x86, mce, severities: Define mce_severity function pointer

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.



\
 
 \ /
  Last update: 2015-03-21 03:41    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog