lib/plist.c: make plist test announcements KERN_DEBUG
authorBorislav Petkov <borislav.petkov@amd.com>
Fri, 5 Oct 2012 00:13:27 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Oct 2012 18:04:58 +0000 (03:04 +0900)
They show up in dmesg

[    4.041094] start plist test
[    4.045804] end plist test

without a lot of meaning so hide them behind debug loglevel.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/plist.c

index 6ab0e52..1ebc95f 100644 (file)
@@ -175,7 +175,7 @@ static int  __init plist_test(void)
        int nr_expect = 0, i, loop;
        unsigned int r = local_clock();
 
-       printk(KERN_INFO "start plist test\n");
+       pr_debug("start plist test\n");
        plist_head_init(&test_head);
        for (i = 0; i < ARRAY_SIZE(test_node); i++)
                plist_node_init(test_node + i, 0);
@@ -203,7 +203,7 @@ static int  __init plist_test(void)
                plist_test_check(nr_expect);
        }
 
-       printk(KERN_INFO "end plist test\n");
+       pr_debug("end plist test\n");
        return 0;
 }