Staging: comedi: fix missing KERN_facility level in ni_labpc.c
authorAseem Sethi <aseemsethi@yahoo.com>
Tue, 9 Mar 2010 18:34:36 +0000 (00:04 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:35:34 +0000 (11:35 -0700)
This is a patch to fix the "missing KERN_facility level" error found
when running the checkpatch.pl script

Signed-off-by: Aseem Sethi <aseemsethi@yahoo.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/ni_labpc.c

index 558e525..9b840a9 100644 (file)
@@ -536,7 +536,7 @@ int labpc_common_attach(struct comedi_device *dev, unsigned long iobase,
        printk("\n");
 
        if (iobase == 0) {
-               printk("io base address is zero!\n");
+               printk(KERN_ERR "io base address is zero!\n");
                return -EINVAL;
        }
        /*  request io regions for isa boards */