summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Murzin <murzin.v@gmail.com>2013-09-29 13:54:31 (GMT)
committerKalle Valo <kvalo@qca.qualcomm.com>2013-10-01 16:42:28 (GMT)
commita07b5b840c5f4fda31b835806c0095408637f432 (patch)
tree8fe7988c7c3bf498848ad24c87639baf94b18616
parent1a222435a1b0ed2f87f4752abdf03065b574dfac (diff)
downloadlinux-fsl-qoriq-a07b5b840c5f4fda31b835806c0095408637f432.tar.xz
ath6kl: fix compilation warning in ath6kl_htc_pipe_conn_service
Fix the warning drivers/net/wireless/ath/ath6kl/htc_pipe.c: In function 'ath6kl_htc_pipe_conn_service': drivers/net/wireless/ath/ath6kl/htc_pipe.c:1293:26: warning: integer overflow in expression [-Woverflow] by giving a hint to compiler about unsigned nature of HTC_CONN_FLGS_SET_RECV_ALLOC_MASK Signed-off-by: Vladimir Murzin <murzin.v@gmail.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
-rw-r--r--drivers/net/wireless/ath/ath6kl/htc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/htc.h b/drivers/net/wireless/ath/ath6kl/htc.h
index a2c8ff8..14cab14 100644
--- a/drivers/net/wireless/ath/ath6kl/htc.h
+++ b/drivers/net/wireless/ath/ath6kl/htc.h
@@ -60,7 +60,7 @@
/* disable credit flow control on a specific service */
#define HTC_CONN_FLGS_DISABLE_CRED_FLOW_CTRL (1 << 3)
#define HTC_CONN_FLGS_SET_RECV_ALLOC_SHIFT 8
-#define HTC_CONN_FLGS_SET_RECV_ALLOC_MASK 0xFF00
+#define HTC_CONN_FLGS_SET_RECV_ALLOC_MASK 0xFF00U
/* connect response status codes */
#define HTC_SERVICE_SUCCESS 0