From: Ian Abbott Date: Wed, 16 Oct 2013 13:40:11 +0000 (+0100) Subject: staging: comedi: adv_pci1723: sample types are unsigned X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=69163089384b93946133fa1b5153791797b8db44;p=linux-beck.git staging: comedi: adv_pci1723: sample types are unsigned Sample values in comedi are generally represented as unsigned values. Change the element type of the `ao_data[]` member of `struct pci1723_private` from `short` to `unsigned short` for consistency. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/adv_pci1723.c b/drivers/staging/comedi/drivers/adv_pci1723.c index 71321f75d0cd..bd4f781b4b24 100644 --- a/drivers/staging/comedi/drivers/adv_pci1723.c +++ b/drivers/staging/comedi/drivers/adv_pci1723.c @@ -105,7 +105,7 @@ TODO: struct pci1723_private { unsigned char da_range[8]; /* D/A output range for each channel */ - short ao_data[8]; /* data output buffer */ + unsigned short ao_data[8]; /* data output buffer */ }; /*