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-06 07:21:10 -0800 |
commit | a42ae5905140c324362fe5036ae1dbb16e4d359c (patch) | |
tree | d4f19950624eb6a242d0a856e614a02dadb0c717 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | cb57469c9573f6018cd1302953dd45d6e05aba7b (diff) |
staging: 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: <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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions