[PATCH] [TRIVIAL] Drop an uninteresting message to pr_debug level

Paul Bolle pebolle at tiscali.nl
Tue Feb 15 08:34:22 EST 2011


Signed-off-by: Paul Bolle <pebolle at tiscali.nl>
---
On Mon, 2011-02-14 at 08:27 -0700, Grant Likely wrote:
> The message is unnecessary.  It can just be dropped altogether, or
> changed to a pr_debug().

Thanks. I picked the second option, as it is enough to address my
concerns.

diff --git a/fs/proc/proc_devtree.c b/fs/proc/proc_devtree.c
index d9396a4..927cbd1 100644
--- a/fs/proc/proc_devtree.c
+++ b/fs/proc/proc_devtree.c
@@ -233,7 +233,7 @@ void __init proc_device_tree_init(void)
 		return;
 	root = of_find_node_by_path("/");
 	if (root == NULL) {
-		printk(KERN_ERR "/proc/device-tree: can't find root\n");
+		pr_debug("/proc/device-tree: can't find root\n");
 		return;
 	}
 	proc_device_tree_add_node(root, proc_device_tree);




More information about the devicetree-discuss mailing list