Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Gustavo Silva and committed by
Greg Kroah-Hartman
2312202c 1309e617

+2 -2
+2 -2
drivers/staging/comedi/kcomedilib/kcomedilib_main.c
··· 93 93 s = dev->subdevices + insn->subdev; 94 94 95 95 if (s->type == COMEDI_SUBD_UNUSED) { 96 - printk("%d not useable subdevice\n", insn->subdev); 96 + printk(KERN_ERR "%d not useable subdevice\n", insn->subdev); 97 97 ret = -EIO; 98 98 goto error; 99 99 } ··· 102 102 103 103 ret = comedi_check_chanlist(s, 1, &insn->chanspec); 104 104 if (ret < 0) { 105 - printk("bad chanspec\n"); 105 + printk(KERN_ERR "bad chanspec\n"); 106 106 ret = -EINVAL; 107 107 goto error; 108 108 }