From: Ravishankar karkala Mallikarjunayya Date: Mon, 12 Dec 2011 05:19:14 +0000 (+0530) Subject: Staging: comedi: fix printk issue in dt3000.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a65df7974695f53cadfd2ecda60eb03a894b0480;p=linux-beck.git Staging: comedi: fix printk issue in dt3000.c This is a patch to the dt3000.c file that fixes up a printk warning found by the checkpatch.pl tool. Added KERN_facility levels. Signed-off-by: Ravishankar Karkala Mallikarjunayya Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/dt3000.c b/drivers/staging/comedi/drivers/dt3000.c index 10a54a7bb1ec..1e1c5a5662ee 100644 --- a/drivers/staging/comedi/drivers/dt3000.c +++ b/drivers/staging/comedi/drivers/dt3000.c @@ -430,12 +430,12 @@ static char *intr_flags[] = { static void debug_intr_flags(unsigned int flags) { int i; - printk("dt3k: intr_flags:"); + printk(KERN_DEBUG "dt3k: intr_flags:"); for (i = 0; i < 8; i++) { if (flags & (1 << i)) - printk(" %s", intr_flags[i]); + printk(KERN_CONT " %s", intr_flags[i]); } - printk("\n"); + printk(KERN_CONT "\n"); } #endif