Commit 7cf372b1 authored by Ravishankar karkala Mallikarjunayya's avatar Ravishankar karkala Mallikarjunayya Committed by Greg Kroah-Hartman

Staging: comedi: fix printk issue in das1800.c

This is a patch to the das1800.c file that fixes up a
printk warning found by the checkpatch.pl tool.

Included KERN_facility levels for printk.
Signed-off-by: default avatarRavishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 6c6c227d
......@@ -632,17 +632,17 @@ static int das1800_attach(struct comedi_device *dev,
if (alloc_private(dev, sizeof(struct das1800_private)) < 0)
return -ENOMEM;
printk("comedi%d: %s: io 0x%lx", dev->minor, driver_das1800.driver_name,
iobase);
printk(KERN_DEBUG "comedi%d: %s: io 0x%lx", dev->minor,
driver_das1800.driver_name, iobase);
if (irq) {
printk(", irq %u", irq);
printk(KERN_CONT ", irq %u", irq);
if (dma0) {
printk(", dma %u", dma0);
printk(KERN_CONT ", dma %u", dma0);
if (dma1)
printk(" and %u", dma1);
printk(KERN_CONT " and %u", dma1);
}
}
printk("\n");
printk(KERN_CONT "\n");
if (iobase == 0) {
printk(" io base address required\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment