]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
staging: comedi: das16: sample types are unsigned
authorIan Abbott <abbotti@mev.co.uk>
Wed, 16 Oct 2013 13:40:16 +0000 (14:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Oct 2013 19:48:18 +0000 (12:48 -0700)
commit920983458cbf4213e8a99567d8d22c3721723cd1
tree652e71aa3b421c8ade7dfcf0c5fea23f0cdd414b
parent0522063806aabfd498e296e4f3b94b0c93d7c16f
staging: comedi: das16: sample types are unsigned

Sample values in comedi are generally represented as unsigned values.
Change the type of the `data` variable in `das16_ai_munge()` 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/das16.c