]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
Staging: comedi: fix print(k) coding style issue in aio_aio12_8.c
authorMaurice Dawson <mauricedawson2699@googlemail.com>
Thu, 8 Apr 2010 12:13:20 +0000 (13:13 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:35:32 +0000 (11:35 -0700)
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>
drivers/staging/comedi/drivers/aio_aio12_8.c

index c4cac66db12ea859f6a4efeb3b7d0ea5370cf3c1..7a1c636df5be11720c765503f320a5e8f5c907c8 100644 (file)
@@ -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;
        }