diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2015-11-18 17:55:06 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-21 15:58:54 -0800 |
commit | 84a185ec429fe64e5b0d81d7ac815c91578ee569 (patch) | |
tree | a68d57f122be395e491688e89fb20b057d932136 /net/lapb/lapb_out.c | |
parent | ed65bba31bdf038bada04415065b8d9b218b6066 (diff) |
staging: comedi: make some variables unsigned in comedi_write()
In `comedi_write()`, the `n` and `m` variables are of type `int`.
Change them to `unsigned int` as they are used to measure a positive
number of bytes. The `count` variable is also of type `int` and holds
the returned number of bytes written. Change it to type `ssize_t` to
match the function's return type.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions