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

Grant Likely grant.likely at secretlab.ca
Wed Feb 16 07:39:52 EST 2011


On Mon, Feb 14, 2011 at 10:34:22PM +0100, Paul Bolle wrote:
> 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.

Applied, thanks.

g.

> 
> 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