From: Maurice Dawson Date: Thu, 8 Apr 2010 12:13:20 +0000 (+0100) Subject: Staging: comedi: fix print(k) coding style issue in aio_aio12_8.c X-Git-Tag: MMI-PSA29.97-13-9~23841^2^2~554 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=24d2d8be91e83d6eb40240180da46b3dbd440dd5;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: comedi: fix print(k) coding style issue in aio_aio12_8.c This is a patch to the aio_aio12_8.c that fixes up print(k) warnings found by the checkpatch.pl tool Signed-off-by: Maurice Dawson Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/aio_aio12_8.c b/drivers/staging/comedi/drivers/aio_aio12_8.c index c4cac66db12e..7a1c636df5be 100644 --- a/drivers/staging/comedi/drivers/aio_aio12_8.c +++ b/drivers/staging/comedi/drivers/aio_aio12_8.c @@ -110,7 +110,7 @@ static int aio_aio12_8_ai_read(struct comedi_device *dev, while (timeout && !(inb(dev->iobase + AIO12_8_STATUS) & STATUS_ADC_EOC)) { timeout--; - printk("timeout %d\n", timeout); + printk(KERN_ERR "timeout %d\n", timeout); udelay(1); } if (timeout == 0) { @@ -172,7 +172,7 @@ static int aio_aio12_8_attach(struct comedi_device *dev, iobase = it->options[0]; if (!request_region(iobase, 24, "aio_aio12_8")) { - printk("I/O port conflict"); + printk(KERN_ERR "I/O port conflict"); return -EIO; }