Re: [PATCH 00/35] staging: comedi: sample types are unsigned

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 16, 2013 at 02:40:03PM +0100, Ian Abbott wrote:
> Sample values in comedi are generally represented as unsigned values.
> Some of the comedi buffer handling functions and various drivers use
> signed short values in places to hold or manipulate 16-bit (or less)
> sample values.  Be a bit more consistent in the use of unsigned types to
> handle sample values.

I've applied these, but in the future, you might want to use the kernel
type 'u16' just to be explicit as to what you want for this api.

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux