From: Chase Southwood Date: Sun, 31 Aug 2014 19:44:23 +0000 (-0500) Subject: staging: comedi: usbdux: fix more sparse endianness warnings X-Git-Tag: fixes-for-v3.18-merge-window~15^2~857 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae689d52f778fef3026dc7f8d9349df4ca465e6d;p=pandora-kernel.git staging: comedi: usbdux: fix more sparse endianness warnings Sparse shows a couple of warnings like: drivers/staging/comedi/drivers/usbdux.c:889:20: warning: incorrect type in assignment (different base types) drivers/staging/comedi/drivers/usbdux.c:889:20: expected unsigned short [unsigned] [short] [usertype] drivers/staging/comedi/drivers/usbdux.c:889:20: got restricted __le16 [usertype] This is the result of a couple of calls to cpu_to_le16() being assigned to uint16_t typed variables. Switch the types of these variables/pointers to __le16 accordingly. Signed-off-by: Chase Southwood Suggested-by: Ian Abbott Reviewed-by: Ian Abbott Cc: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed