Re: [PATCH 1/3] usb: musb: convert printk to pr_*

From: Greg Kroah-Hartman
Date: Fri Nov 27 2015 - 19:04:42 EST


On Fri, Nov 27, 2015 at 03:23:33PM +0300, Sergei Shtylyov wrote:
> Hello.
>
> On 11/27/2015 1:38 PM, Rasmus Villemoes wrote:
>
> >This file already uses pr_debug in a few places; this converts the
> >remaining printks.
>
> Are you aware that printk(KERN_DEBUG, ...) and pr_debug() are not equivalent?

Yes, and that is a good thing, you should be using pr_debug() instead of
printk(KERN_DEBUG...).

Why object to something like this?

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/