The default switch case block is wanted here, to handle situation
e.g. of unexpected c->x86_vendor value -- then no mcheck init is done, but
misleading message still gets logged anyway.
Signed-off-by: Sergiy Kibrik <Sergiy_Kibrik@epam.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
/* Assume we are on K8 or newer AMD or Hygon CPU here */
amd_nonfatal_mcheck_init(c);
break;
+
case X86_VENDOR_INTEL:
intel_nonfatal_mcheck_init(c);
break;
+
+ default:
+ /* unhandled vendor isn't really an error */
+ return 0;
}
printk(KERN_INFO "mcheck_poll: Machine check polling timer started.\n");
return 0;