Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337097
b: refs/heads/master
c: 49e8e44
h: refs/heads/master
i:
  337095: d8bc11c
v: v3
  • Loading branch information
YAMANE Toshiaki authored and Greg Kroah-Hartman committed Oct 22, 2012
1 parent c4ca12a commit c90d584
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 26cbd46529c07b50e92861f06497a5f327c48e69
refs/heads/master: 49e8e44bcf3832a7fbe383a6e715b85ee2c7b2e6
5 changes: 3 additions & 2 deletions trunk/drivers/staging/comedi/kcomedilib/kcomedilib_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ static int comedi_do_insn(struct comedi_device *dev,
s = &dev->subdevices[insn->subdev];

if (s->type == COMEDI_SUBD_UNUSED) {
printk(KERN_ERR "%d not useable subdevice\n", insn->subdev);
dev_err(dev->class_dev,
"%d not useable subdevice\n", insn->subdev);
ret = -EIO;
goto error;
}
Expand All @@ -104,7 +105,7 @@ static int comedi_do_insn(struct comedi_device *dev,

ret = comedi_check_chanlist(s, 1, &insn->chanspec);
if (ret < 0) {
printk(KERN_ERR "bad chanspec\n");
dev_err(dev->class_dev, "bad chanspec\n");
ret = -EINVAL;
goto error;
}
Expand Down

0 comments on commit c90d584

Please sign in to comment.