From: Ian Abbott Date: Wed, 16 Oct 2013 13:40:07 +0000 (+0100) Subject: staging: comedi: addi_apci_3120: sample types are unsigned X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~248 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58a37d41866fa6393b70274b9ced99c83bbee7b2;p=pandora-kernel.git staging: comedi: addi_apci_3120: sample types are unsigned Sample values in comedi are generally represented as unsigned values. Change the element type of `ul_DmaBufferVirtual[2]` in `struct addi_private` from `short *` to `unsigned short *` for consistency. Note that several ADDI-DATA drivers use this struct from "addi_common.h", but only the "addi_apci_3120" driver uses this member. Also change the type of the `dma_buffer` parameter of `v_APCI3120_InterruptDmaMoveBlock16bit()` from `short *` to `unsigned short *`. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed