提交 55ce29ba 编写于 作者: I Ingo Molnar

x86: cpa self-test, WARN_ON()

add a WARN_ON() to the cpa-self-test failure branch.
Signed-off-by: NIngo Molnar <mingo@elte.hu>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 12d6f21e
......@@ -224,10 +224,12 @@ static __init int exercise_pageattr(void)
failed += print_split(&sc);
if (failed)
if (failed) {
printk(KERN_ERR "CPA selftests NOT PASSED. Please report.\n");
else
WARN_ON(1);
} else {
printk(KERN_INFO "CPA selftests PASSED\n");
}
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册