提交 8aaccf7f 编写于 作者: P Paul Bolle 提交者: Grant Likely

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: NPaul Bolle <pebolle@tiscali.nl>
Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
上级 337fc720
...@@ -233,7 +233,7 @@ void __init proc_device_tree_init(void) ...@@ -233,7 +233,7 @@ void __init proc_device_tree_init(void)
return; return;
root = of_find_node_by_path("/"); root = of_find_node_by_path("/");
if (root == NULL) { 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; return;
} }
proc_device_tree_add_node(root, proc_device_tree); proc_device_tree_add_node(root, proc_device_tree);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册