Skip to content

Commit

Permalink
Staging: comedi: fix printk issue in dt3000.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ravishankar karkala Mallikarjunayya authored and Greg Kroah-Hartman committed Dec 14, 2011
1 parent b6b31e9 commit a65df79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/comedi/drivers/dt3000.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a65df79

Please sign in to comment.