lkml.org 
[lkml]   [2013]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/6] keucr: migrate printk to dev_dbg/info/warn/err
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



\
 
 \ /
  Last update: 2013-06-05 12:21    [W:0.159 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site