Re: [PATCH] comedi: fix comedi_nsamples_left.

2018-02-16 Thread Ian Abbott
On 15/02/18 20:13, Frank Mori Hess wrote: A rounding error was causing comedi_nsamples_left to return the wrong value when nsamples was not a multiple of the scan length. Cc: # v4.4+ Signed-off-by: Frank Mori Hess ---

[PATCH] comedi: fix comedi_nsamples_left.

2018-02-15 Thread Frank Mori Hess
A rounding error was causing comedi_nsamples_left to return the wrong value when nsamples was not a multiple of the scan length. Cc: # v4.4+ Signed-off-by: Frank Mori Hess --- drivers/staging/comedi/drivers.c | 3 +-- 1 file changed, 1 insertion(+), 2