From: Paul Bolle Date: Mon, 14 Feb 2011 21:34:22 +0000 (+0100) Subject: of/flattree: Drop an uninteresting message to pr_debug level X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8aaccf7fa2a2f148db1edbe7b09e3119c3f910cf;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git of/flattree: Drop an uninteresting message to pr_debug level This message looks like an error (which it isn't) when booting with a flattened device tree. Remove the message from normal kernel builds. Signed-off-by: Paul Bolle Signed-off-by: Grant Likely --- diff --git a/fs/proc/proc_devtree.c b/fs/proc/proc_devtree.c index d9396a4fc7ff..927cbd115e53 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);