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

From: Dan Carpenter
Date: Wed Jun 05 2013 - 05:33:10 EST


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

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