[PATCH] Staging: comedi:fix missing KERN_facility level in ni_labpc.c

From: aseem sethi
Date: Tue Mar 09 2010 - 13:43:43 EST


From: aseemsethi <aseemsethi@xxxxxxxxx>
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@xxxxxxxxx>

---
drivers/staging/comedi/drivers/ni_labpc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/comedi/drivers/ni_labpc.c b/drivers/staging/comedi/drivers/ni_labpc.c
index 3c88caa..63853c2 100644
--- a/drivers/staging/comedi/drivers/ni_labpc.c
+++ b/drivers/staging/comedi/drivers/ni_labpc.c
@@ -535,7 +535,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 */
--
1.6.4.2
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/