diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2015-10-12 19:21:23 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-13 20:29:48 +0300 |
| commit | 76e8e7d4ffb3300217b62637183282a5225d7394 (patch) | |
| tree | 456554788fe1fdec14a890a0df152877cf0db5c1 /include/linux | |
| parent | fd060c8f4c93ee564510aa86724d27dca31b9e2a (diff) | |
| download | linux-76e8e7d4ffb3300217b62637183282a5225d7394.tar.xz | |
staging: comedi: make some variables unsigned in comedi_read()
In `comedi_read()`, 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. 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 'include/linux')
0 files changed, 0 insertions, 0 deletions
