From: Krzysztof Konopko Date: Mon, 15 Dec 2014 15:02:14 +0000 (+0100) Subject: staging: rtl8723au: Fix sparse warnings X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~83^2~461 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ae888b64e9512dc77b8d875c9b860447328e802;p=pandora-kernel.git staging: rtl8723au: Fix sparse warnings Some struct fields in wifi.h are meant to be __le16 but were declared as unsigned short. This was reported by sparse: rtw_wlan_util.c:538:24: warning: cast to restricted __le16 rtw_wlan_util.c:1544:29: warning: cast to restricted __le16 rtw_wlan_util.c:1546:25: warning: cast to restricted __le16 This patch updates the types of the fields in `AC_param` and `ADDBA_request` structs to be consistent with relevant structs in include/linux/ieee80211.h. Signed-off-by: Krzysztof Konopko Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed