Message ID | 20170814070849.20986-18-jgross@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/xen/arch/x86/oprofile/nmi_int.c b/xen/arch/x86/oprofile/nmi_int.c index 126f7a8d9f..91965ac7df 100644 --- a/xen/arch/x86/oprofile/nmi_int.c +++ b/xen/arch/x86/oprofile/nmi_int.c @@ -329,6 +329,8 @@ static int force_cpu_type(const char *str) force_arch_perfmon = 1; printk(KERN_INFO "oprofile: forcing architectural perfmon\n"); } + else + return -EINVAL; return 0; }