Skip to content

Commit

Permalink
Staging: comedi: fix print(k) coding style issue in aio_aio12_8.c
Browse files Browse the repository at this point in the history
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 <mauricedawson2699@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Maurice Dawson authored and Greg Kroah-Hartman committed May 11, 2010
1 parent af6ddd5 commit 24d2d8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/comedi/drivers/aio_aio12_8.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 24d2d8b

Please sign in to comment.