]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: ni_mio_common: sample types are unsigned
authorIan Abbott <abbotti@mev.co.uk>
Wed, 16 Oct 2013 13:40:26 +0000 (14:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Oct 2013 19:48:30 +0000 (12:48 -0700)
commit3a2b101cc5fbba7f6fbb7c2e19478c884d00c730
treeea934d4b3f4b69d72e38403b2d76b7b0e7143619
parentc0edd2c62765e76a03de48722d3d171aa6dd584a
staging: comedi: ni_mio_common: sample types are unsigned

Sample values in comedi are generally represented as unsigned values.
Change the element type of the `ai_fifo_buffer[]` element of `struct
ni_board_struct` and the types of various local variables from `short`
to `unsigned short` for consistency.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_mio_common.c
drivers/staging/comedi/drivers/ni_stc.h