Now that endian checking is an automatic part of Sparse, it is advisable to fix these warnings under controlled conditions, which include testing on big-endian hardware. This set of patches fix all the issues. Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> Larry Finger (7): staging: r8712u: Fix some Sparse endian messages staging: r8712u: Fix endian settings for structs describing network packets staging: r8712u: Fix macros used to read/write the TX/RX descriptors staging: r8712u: Fix Sparse warning in rtl871x_xmit.c staging: r8712u: Fix Sparse endian warning in rtl871x_recv.c staging: r8712u: Fix Sparse warnings in rtl871x_ioctl_linux.c staging: r8712u: Fix Sparse warnings in rtl871x_mlme.c drivers/staging/rtl8712/ieee80211.h | 84 ++++++++++---------- drivers/staging/rtl8712/rtl8712_xmit.c | 6 +- drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 4 +- drivers/staging/rtl8712/rtl871x_mlme.c | 9 +-- drivers/staging/rtl8712/rtl871x_recv.c | 5 +- drivers/staging/rtl8712/rtl871x_xmit.c | 7 +- drivers/staging/rtl8712/wifi.h | 109 ++++++++++++-------------- 7 files changed, 110 insertions(+), 114 deletions(-) -- 2.10.2 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel