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

From: Yannis Damigos
Date: Sun Dec 14 2014 - 09:30:16 EST

This is a patch to the hal/rtl8723au_xmit.c file that fixes various
"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@xxxxxxxxx>
drivers/staging/rtl8723au/hal/rtl8723au_xmit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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); */


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/