Skip to content

Commit 8aaccf7

Browse files
pebolleglikely
authored andcommitted
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 <pebolle@tiscali.nl> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
1 parent 337fc72 commit 8aaccf7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/proc/proc_devtree.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ void __init proc_device_tree_init(void)
233233
return;
234234
root = of_find_node_by_path("/");
235235
if (root == NULL) {
236-
printk(KERN_ERR "/proc/device-tree: can't find root\n");
236+
pr_debug("/proc/device-tree: can't find root\n");
237237
return;
238238
}
239239
proc_device_tree_add_node(root, proc_device_tree);

0 commit comments

Comments
 (0)