comedilib/lib
Ian Abbott 0868eccbf7 lib: remove cached cmd_timed and cmd_timed_errno from subdevice
Remove the cmd_timed and cmd_timed_errno members from the internal
struct subdevice_struct.

cmd_timed_errno is checked but never set, so it will always be 0 and the
code that uses it is buggy as it returns the value of s->cmd_mask_errno
if s->cmd_timed_errno is non-zero and sets s->cmd_mask_errno on failure.
It shouldn't be setting s->cmd_mask_errno at all.

Since the generic timed command could depend on the length of the
channel list, don't bother caching the result, and don't set
s->cmd_mask_errno on failure.
2013-05-07 12:58:30 +01:00
..
buffer.c Added some device and subdevice validity checks. 2008-11-05 12:52:25 +00:00
calib.c #include <sys/stat.h> needed for fstat(). 2011-01-05 15:02:44 +00:00
calib_lex.l lib/calib_lex.l: Add #define YY_NO_INPUT to C pre-amble 2013-03-21 15:49:18 +00:00
calib_yacc.y lib: check some malloc/calloc/realloc failures 2013-05-07 12:32:26 +01:00
cmd.c lib: remove cached cmd_timed and cmd_timed_errno from subdevice 2013-05-07 12:58:30 +01:00
comedi.c lib: remove cached cmd_timed and cmd_timed_errno from subdevice 2013-05-07 12:58:30 +01:00
data.c Made comedi_ioctl take its third argument as a void* instead of 2008-02-12 01:12:46 +00:00
dio.c Updated comedi_dio_config implementation to reflect logical split 2008-02-12 18:27:00 +00:00
error.c Put __comedi_errno variable into thread-local storage if the compiler 2009-02-18 14:10:54 +00:00
filler.c Fixed do_test_for_insn_bits(), broken by validity checks added to 2008-12-18 17:23:14 +00:00
get.c Added some device and subdevice validity checks. 2008-11-05 12:52:25 +00:00
insn_config_wrappers.c libcomedi: don't ignore channel in comedi_set_clock_source() 2011-12-01 15:37:43 +00:00
ioctl.c Made comedi_ioctl take its third argument as a void* instead of 2008-02-12 01:12:46 +00:00
libinternal.h lib: remove cached cmd_timed and cmd_timed_errno from subdevice 2013-05-07 12:58:30 +01:00
Makefile.am Move "comedi_errno.h" into "include/" and install it. 2009-02-18 14:47:06 +00:00
range.c comedi_find_range() should skip ranges that don't match specified units. 2010-02-17 18:28:15 +00:00
sv.c lib: check some malloc/calloc/realloc failures 2013-05-07 12:32:26 +01:00
timed.c trying to fix undefined symbol problems people are having 2003-05-18 00:26:59 +00:00
timer.c Added some device and subdevice validity checks. 2008-11-05 12:52:25 +00:00
version_script Added channel parameter to comedi_set_clock_source() and 2010-03-19 13:44:56 +00:00