Skip to contentSkip to conversation

lib-plistc-replace-pr_debug-with-printk-in-plist_test.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jun 5, 2014 Library code

lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [merged] lib-plistc-replace-pr_debug-with-printk-in-plist_test.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 05 Jun 2014 13:05:09 -0700

The patch titled
Subject: lib/plist.c: replace pr_debug with printk in plist_test()
has been removed from the -mm tree. Its filename was
lib-plistc-replace-pr_debug-with-printk-in-plist_test.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Dan Streetman <[email protected]>
Subject: lib/plist.c: replace pr_debug with printk in plist_test()

Replace pr_debug() in lib/plist.c test function plist_test() with printk(KERN_DEBUG ...).

Without DEBUG defined, pr_debug() is complied out, but the entire plist_test() function is already inside CONFIG_DEBUG_PI_LIST, so printk should just be used directly.

---

 lib/plist.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
lib/plist.c renamed from lib/plist.c~lib-plistc-replace-pr_debug-with-printk-in-plist_test +2 -2
diff -puN lib/plist.c~lib-plistc-replace-pr_debug-with-printk-in-plist_test lib/plist.c
@@ -223,7 +223,7 @@ static int  __init plist_test(void)
 	int nr_expect = 0, i, loop;
 	unsigned int r = local_clock();
 
-	pr_debug("start plist test\n");
+	printk(KERN_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);
@@ -255,7 +255,7 @@ static int  __init plist_test(void)
 		plist_test_check(nr_expect);
 	}
 
-	pr_debug("end plist test\n");
+	printk(KERN_DEBUG "end plist test\n");
 	return 0;
 }
 

_

Patches currently in -mm which might be from [email protected] are

origin.patch
linux-next.patch