projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
765cd5b
)
added a debug message
author
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 19 Feb 2003 04:21:22 +0000
(
04:21
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 19 Feb 2003 04:21:22 +0000
(
04:21
+0000)
comedi/comedi_fops.c
patch
|
blob
|
history
diff --git
a/comedi/comedi_fops.c
b/comedi/comedi_fops.c
index d1baac2f78db46dc4be1bf360bc57d183ad34f9b..bd80f7f3904c566a5fef002e15df6d3303a4d906 100644
(file)
--- a/
comedi/comedi_fops.c
+++ b/
comedi/comedi_fops.c
@@
-686,6
+686,7
@@
static int parse_insn(comedi_device *dev,comedi_insn *insn,lsampl_t *data,void *
}else{
/* a subdevice instruction */
if(insn->subdev>=dev->n_subdevices){
+ DPRINTK("subdevice %d out of range\n",insn->subdev);
ret=-EINVAL;
goto out;
}