From: Malcolm Priestley Date: Tue, 27 May 2014 20:05:17 +0000 (+0100) Subject: staging: vt6656: WCTLbIsDuplicate fix PSCacheEntry base types and warnings X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9046db518e5d3da5371eb64bfe96203243b722c0;p=pandora-kernel.git staging: vt6656: WCTLbIsDuplicate fix PSCacheEntry base types and warnings Fix wFmSequence and wFrameCtl to __le16 Don't restrict to u8, if packet is a duplicate both bytes of __le16 will be the same. Fixes warnings wctl.c:66:9: warning: restricted __le16 degrades to integer wctl.c:71:56: warning: restricted __le16 degrades to integer wctl.c:73:49: warning: cast from restricted __le16 wctl.c:83:30: warning: incorrect type in assignment (different base types) wctl.c:83:30: expected unsigned short [unsigned] [usertype] wFmSequence wctl.c:83:30: got restricted __le16 [usertype] seq_ctrl wctl.c:85:28: warning: incorrect type in assignment (different base types) wctl.c:85:28: expected unsigned short [unsigned] [usertype] wFrameCtl wctl.c:85:28: got restricted __le16 [usertype] frame_control Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed