[PATCH 3/6] keucr: migrate printk to dev_dbg/info/warn/err

Dan Carpenter dan.carpenter at oracle.com
Wed Jun 5 09:32:07 UTC 2013


On Wed, Jun 05, 2013 at 10:50:03AM +0200, Johannes Schilling wrote:
> diff --git a/drivers/staging/keucr/init.c b/drivers/staging/keucr/init.c
> index a0fdffd..0e8ced1 100644
> --- a/drivers/staging/keucr/init.c
> +++ b/drivers/staging/keucr/init.c
> @@ -19,13 +19,13 @@ int ENE_InitMedia(struct us_data *us)
>  	int	result;
>  	BYTE	MiscReg03 = 0;
>  
> -	printk(KERN_INFO "--- Init Media ---\n");
> +	dev_info("--- Init Media ---\n");

Come on people, what's going on here?  This won't compile at all. :/

regards,
dan carpenter




More information about the devel mailing list