[staging-next 1/4] staging/mei: define pr_fmt prefix for pr_ macros

Dan Carpenter dan.carpenter at oracle.com
Mon Mar 19 17:35:52 UTC 2012


On Mon, Mar 19, 2012 at 05:58:40PM +0200, Tomas Winkler wrote:
> define pr_fmt macro and remove mei: from the messages
> 
> Signed-off-by: Tomas Winkler <tomas.winkler at intel.com>
> ---
>  drivers/staging/mei/main.c |   10 +++++++---
>  1 files changed, 7 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/staging/mei/main.c b/drivers/staging/mei/main.c
> index 7c9321f..383ae9f 100644
> --- a/drivers/staging/mei/main.c
> +++ b/drivers/staging/mei/main.c
> @@ -14,6 +14,8 @@
>   *
>   */
>  
> +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> +
>  #include <linux/module.h>
>  #include <linux/moduleparam.h>
>  #include <linux/kernel.h>
> @@ -40,6 +42,8 @@
>  #include "interface.h"
>  
>  
> +
> +

Please don't include bogus, unrelated, white space changes.  Two
blank lines was already one too many.  No need to add more.

regards,
dan carpenter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20120319/5be8743c/attachment.asc>


More information about the devel mailing list