mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 03:42:52 +00:00
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 <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
b6b31e972d
commit
a65df79746
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user