Skip to contentSkip to conversation

Staging: comedi: fix printk() issue in pcmmio.c

PATCH New Ravishankar 1 participant 1 message Jul 11, 2011 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 12/12 Staging: comedi: fix printk() issue in pcmmio.c

From: Ravishankar <[email protected]>

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

---

Earlier indentation was not proper now it's been fixed

---
 drivers/staging/comedi/drivers/pcmmio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/comedi/drivers/pcmmio.c +1 -1
index f2e88e5..172ac99 100644
@@ -663,7 +663,7 @@ static int pcmmio_dio_insn_bits(struct comedi_device *dev,
 		}
 #ifdef DAMMIT_ITS_BROKEN
 		/* DEBUG */
-		printk("data_out_byte %02x\n", (unsigned)byte);
+		printk(KERN_DEBUG "data_out_byte %02x\n", (unsigned) byte);
 #endif
 		/* save the digital input lines for this byte.. */
 		s->state |= ((unsigned int)byte) << offset;
Signature · 1 line
1.6.5.2