projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c9d8a4
)
marked (but did not fix =) a couple bugs
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 21 May 2001 04:50:42 +0000
(
04:50
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 21 May 2001 04:50:42 +0000
(
04:50
+0000)
comedi/kcomedilib/kcomedilib_main.c
patch
|
blob
|
history
diff --git
a/comedi/kcomedilib/kcomedilib_main.c
b/comedi/kcomedilib/kcomedilib_main.c
index be01e241b6b310c273ae47067a89b5de382747f6..3443c5df698f5fe0972952796b61870f35375938 100644
(file)
--- a/
comedi/kcomedilib/kcomedilib_main.c
+++ b/
comedi/kcomedilib/kcomedilib_main.c
@@
-657,6
+657,7
@@
int comedi_do_insn(unsigned int minor,comedi_insn *insn)
if(s->type==COMEDI_SUBD_UNUSED){
rt_printk("%d not useable subdevice\n",insn->subdev);
+ /* XXX no return value is set! ret = ? */
goto error;
}
@@
-664,6
+665,7
@@
int comedi_do_insn(unsigned int minor,comedi_insn *insn)
if((ret=check_chanlist(s,1,&insn->chanspec))<0){
rt_printk("bad chanspec\n");
+ /* XXX no return value is set! ret = ? */
goto error;
}
@@
-697,7
+699,7
@@
int comedi_do_insn(unsigned int minor,comedi_insn *insn)
goto error;
}
error:
-
+
return ret;
}