[PATCH] staging: comedi: fixed KERN_ facility level warning

James K Pruitt pruittjk at cableone.net
Sun Jul 4 16:09:51 UTC 2010


This is a patch to the ni_labpc.c file that fixes a "KERN_" facility level
warning on line 529 found by the checkpatch.pl utility.

Signed-off-by: James K Pruitt <pruittjk at cableone.net>
---
 drivers/staging/comedi/drivers/ni_labpc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/comedi/drivers/ni_labpc.c b/drivers/staging/comedi/drivers/ni_labpc.c
index 67c8a53..086a7be 100644
--- a/drivers/staging/comedi/drivers/ni_labpc.c
+++ b/drivers/staging/comedi/drivers/ni_labpc.c
@@ -526,8 +526,8 @@ int labpc_common_attach(struct comedi_device *dev, unsigned long iobase,
 	unsigned long dma_flags, isr_flags;
 	short lsb, msb;
 
-	printk("comedi%d: ni_labpc: %s, io 0x%lx", dev->minor, thisboard->name,
-	       iobase);
+	printk(KERN_INFO "comedi%d: ni_labpc: %s, io 0x%lx", dev->minor,
+						thisboard->name, iobase);
 	if (irq)
 		printk(", irq %u", irq);
 	if (dma_chan)
-- 
1.7.1




More information about the devel mailing list