projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12d6f21
)
x86: cpa self-test, WARN_ON()
author
Ingo Molnar
<mingo@elte.hu>
Wed, 30 Jan 2008 12:33:58 +0000
(13:33 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 30 Jan 2008 12:33:58 +0000
(13:33 +0100)
add a WARN_ON() to the cpa-self-test failure branch.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/pageattr-test.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/mm/pageattr-test.c
b/arch/x86/mm/pageattr-test.c
index a12dabbd5c33e116e18440c1dc5211f2f3437085..0dce0e248a42c7b7556b175052b554acc7e12a9b 100644
(file)
--- a/
arch/x86/mm/pageattr-test.c
+++ b/
arch/x86/mm/pageattr-test.c
@@
-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;
}