summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorFrank Mori Hess <fmh6jj@gmail.com>2018-02-15 23:13:42 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-06 18:21:10 +0300
commita42ae5905140c324362fe5036ae1dbb16e4d359c (patch)
treed4f19950624eb6a242d0a856e614a02dadb0c717 /net/unix/af_unix.c
parentcb57469c9573f6018cd1302953dd45d6e05aba7b (diff)
downloadlinux-a42ae5905140c324362fe5036ae1dbb16e4d359c.tar.xz
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions