diff options
| author | Frank Mori Hess <fmh6jj@gmail.com> | 2018-02-15 15:13:42 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-18 11:17:53 +0100 |
| commit | 76e267cd2db69c2574f6df5424fec5b01fdc3e87 (patch) | |
| tree | 5bc65d450f7a7a67ee8ac69e8d50b10d5a2d0772 /tools/perf/scripts/python | |
| parent | 131967e82b7735a2000a42ecf0c0a38143427637 (diff) | |
staging: comedi: fix comedi_nsamples_left.
commit a42ae5905140c324362fe5036ae1dbb16e4d359c upstream.
A rounding error was causing comedi_nsamples_left to
return the wrong value when nsamples was not a multiple
of the scan length.
Cc: <stable@vger.kernel.org> # v4.4+
Signed-off-by: Frank Mori Hess <fmh6jj@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
