]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: comedi: fix printk issue in dt3000.c
authorRavishankar karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Mon, 12 Dec 2011 05:19:14 +0000 (10:49 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 14 Dec 2011 00:24:57 +0000 (16:24 -0800)
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 <ravishankar.km@greenturtles.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/dt3000.c

index 10a54a7bb1ec803cefb0188a9e8d3beb83e9172a..1e1c5a5662ee1fba8671eb65b7155ee2a9573f55 100644 (file)
@@ -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