From: Chase Southwood Date: Sat, 30 Aug 2014 01:40:32 +0000 (-0500) Subject: staging: comedi: usbdux: fix sparse endianness warnings X-Git-Tag: fixes-for-v3.18-merge-window~15^2~987 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ae596b8c1464e671f040455c7da2719491c8e43;p=pandora-kernel.git staging: comedi: usbdux: fix sparse endianness warnings Sparse has many warnings like: drivers/staging/comedi/drivers/usbdux.c:366:32: warning: cast to restricted __le16 on lines on which devpriv->in_buf or devpriv->insn_buf are passed to le16_to_cpu(). This suggests that both of these variables should actually be of type __le16. Signed-off-by: Chase Southwood Reviewed-by: Ian Abbott Cc: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed