lkml.org 
[lkml]   [2011]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 09/30] Staging: comedi: fix printk issue in pcmuio.c
On Thu, Dec 08, 2011 at 06:22:04PM +0530, Ravishankar karkala Mallikarjunayya wrote:
> This is a patch to the pcmuio.c file that fixes up a
> printk warning found by the checkpatch.pl tool.
>
> Added KERN_facility levels for printks.

You shouldn't use printk, use the dev_* macros, e.g. dev_warn, dev_err...

Thanks,
Hans

>
> Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
> ---
> drivers/staging/comedi/drivers/pcmuio.c | 23 +++++++++++------------
> 1 files changed, 11 insertions(+), 12 deletions(-)


\
 
 \ /
  Last update: 2011-12-08 14:33    [W:0.142 / U:0.796 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site