mwl8k: le32_to_cpu cast to restricted
authorYogesh Ashok Powar <yogeshp@marvell.com>
Thu, 6 Mar 2014 15:12:43 +0000 (20:42 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 6 Mar 2014 19:29:58 +0000 (14:29 -0500)
commitaa0bee1f409f76222ed009980425dbf12bc7133b
tree652798f569a7d8c249647c99ea67ed5d5171f67b
parent5cbb9c285bdcc14ee381120dab7e23a81060f1c0
mwl8k: le32_to_cpu cast to restricted

It fixes couple of sparse check
>#make C=1 CF=-D__CHECK_ENDIAN__ drivers/net/wireless/mwl8k.o
>drivers/net/wireless/mwl8k.c:3104:19: warning: cast to restricted __le32
>drivers/net/wireless/mwl8k.c:3108:18: warning: cast to restricted __le32

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Nishant Sarmukadam <nishants@marvell.com>
Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c