Skip to contentSkip to conversation

plist: Make plist test announcements KERN_DEBUG

PATCH In review Borislav Petkov 2 participants 3 messages Sep 12, 2012 – Sep 19, 2012 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 plist: Make plist test announcements KERN_DEBUG

From: Borislav Petkov <[email protected]>

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.

Cc Lai Jiangshan <[email protected]>
Cc Steven Rostedt <[email protected]>
Cc Paul Gortmaker <[email protected]>
---
 lib/plist.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
lib/plist.c +2 -2
index 6ab0e521c48b..1ebc95f7a46f 100644
@@ -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;
 }
 
Signature · 1 line
1.7.11.rc1
#2 lore raw
Quoted 5 lines · Steven Rostedt
Quoted 4 lines · Borislav Petkov

From: Borislav Petkov <[email protected]>

They show up in dmesg

Quoted 7 lines
Quoted 5 lines
[    4.041094] start plist test
[    4.045804] end plist test

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

Anyone willing to pick this one up? Maybe akpm?

Signature · 8 lines
Regards/Gruss,
Boris.

Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
GM: Alberto Bozzo
Reg: Dornach, Landkreis Muenchen
HRB Nr. 43632 WEEE Registernr: 129 19551