X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Fx86%2Fmm%2Fpageattr-test.c;h=d4aa503caaa29696c055218bdfbd9cd7faf903fb;hb=a7b354e868bc2f887dfb0a418aa7d96df1afc399;hp=0dcd42eb94e66fd8650422cb25e348cc18da3cf5;hpb=ae94b8075a2ed58d2318ef03827b25bc844f844e;p=linux-2.6 diff --git a/arch/x86/mm/pageattr-test.c b/arch/x86/mm/pageattr-test.c index 0dcd42eb94..d4aa503caa 100644 --- a/arch/x86/mm/pageattr-test.c +++ b/arch/x86/mm/pageattr-test.c @@ -221,8 +221,7 @@ static int pageattr_test(void) failed += print_split(&sc); if (failed) { - printk(KERN_ERR "NOT PASSED. Please report.\n"); - WARN_ON(1); + WARN(1, KERN_ERR "NOT PASSED. Please report.\n"); return -EINVAL; } else { if (print)