diff options
author | Gustavo Silva <silvagustavosilva@gmail.com> | 2010-06-27 17:40:31 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-08 20:15:16 (GMT) |
commit | 2312202c4ac3590da9dcf33337e6f0a14f78d124 (patch) | |
tree | b7660c98ab1247d4035bb6da6327abb07d929c5b /drivers/staging/comedi/kcomedilib | |
parent | 1309e617bc56f2f8af9a9c5aab1224a45539002a (diff) | |
download | linux-fsl-qoriq-2312202c4ac3590da9dcf33337e6f0a14f78d124.tar.xz |
Staging: comedi: kcomedilib: fix coding style issues in kcomedilib_main.c
This is a patch to the kcomedilib_main.c file that fixes up some printk() warning issues.
Signed-off-by: Gustavo Silva <silvagustavo@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/comedi/kcomedilib')
-rw-r--r-- | drivers/staging/comedi/kcomedilib/kcomedilib_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/comedi/kcomedilib/kcomedilib_main.c b/drivers/staging/comedi/kcomedilib/kcomedilib_main.c index 863aae4..0252b44 100644 --- a/drivers/staging/comedi/kcomedilib/kcomedilib_main.c +++ b/drivers/staging/comedi/kcomedilib/kcomedilib_main.c @@ -93,7 +93,7 @@ static int comedi_do_insn(struct comedi_device *dev, struct comedi_insn *insn) s = dev->subdevices + insn->subdev; if (s->type == COMEDI_SUBD_UNUSED) { - printk("%d not useable subdevice\n", insn->subdev); + printk(KERN_ERR "%d not useable subdevice\n", insn->subdev); ret = -EIO; goto error; } @@ -102,7 +102,7 @@ static int comedi_do_insn(struct comedi_device *dev, struct comedi_insn *insn) ret = comedi_check_chanlist(s, 1, &insn->chanspec); if (ret < 0) { - printk("bad chanspec\n"); + printk(KERN_ERR "bad chanspec\n"); ret = -EINVAL; goto error; } |