Re: [PATCH] comedi: fix comedi_nsamples_left.
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.
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