[PATCH 11/30] Staging: comedi: fix printk issue in cb_pcimdas.c
From: Ravishankar karkala Mallikarjunayya
Date: Thu Dec 08 2011 - 07:53:49 EST
This is a patch to the cb_pcimdas.c file that fixes up a
printk warning found by the checkpatch.pl tool.
Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@xxxxxxxxxxxxxxx>
---
drivers/staging/comedi/drivers/cb_pcimdas.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/comedi/drivers/cb_pcimdas.c b/drivers/staging/comedi/drivers/cb_pcimdas.c
index 8ba6942..c91a2de 100644
--- a/drivers/staging/comedi/drivers/cb_pcimdas.c
+++ b/drivers/staging/comedi/drivers/cb_pcimdas.c
@@ -421,7 +421,7 @@ static int cb_pcimdas_ai_rinsn(struct comedi_device *dev,
break;
}
if (i == TIMEOUT) {
- printk("timeout\n");
+ printk(KERN_ERR "timeout\n");
return -ETIMEDOUT;
}
/* read data */
--
1.7.0.4
--
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/