diff mbox

[1/1] staging: rtl8723au: Fix sparse warnings invalid assignment |=

Message ID 1418567365-18168-1-git-send-email-giannis.damigos@gmail.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Yannis Damigos Dec. 14, 2014, 2:29 p.m. UTC
This is a patch to the hal/rtl8723au_xmit.c file that fixes various
warnings:
"invalid warning: invalid assignment: |=
 left side has type unsigned int
 right side has type restricted __le32"

found by sparse tool.

Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
---
 drivers/staging/rtl8723au/hal/rtl8723au_xmit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/drivers/staging/rtl8723au/hal/rtl8723au_xmit.c b/drivers/staging/rtl8723au/hal/rtl8723au_xmit.c
index 6070510..e7e796e 100644
--- a/drivers/staging/rtl8723au/hal/rtl8723au_xmit.c
+++ b/drivers/staging/rtl8723au/hal/rtl8723au_xmit.c
@@ -79,7 +79,7 @@  static void fill_txdesc_sectype(struct pkt_attrib *pattrib, struct tx_desc *ptxd
 	}
 }
 
-static void fill_txdesc_vcs(struct pkt_attrib *pattrib, u32 *pdw)
+static void fill_txdesc_vcs(struct pkt_attrib *pattrib, __le32 *pdw)
 {
 	/* DBG_8723A("cvs_mode =%d\n", pattrib->vcs_mode); */