linux/drivers/staging/rtl8188eu
Kristina Martšenko b812982e6b staging: rtl8188eu: explicitly convert from __le16 to integer
BA_para_set (of type __le16) is implicitly cast into an integer for
bitwise operations, after which the result is converted back into a
__le16. Make the initial cast explicit to make the code clearer. In
addition, refactor the code for readability.

This also removes five sparse warnings of the following type:
drivers/staging/rtl8188eu//core/rtw_mlme_ext.c:6114:70: warning: restricted __le16 degrades to integer

Signed-off-by: Kristina Martšenko <kristina.martsenko@gmail.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
2014-03-13 16:24:19 -07:00
..
core staging: rtl8188eu: explicitly convert from __le16 to integer 2014-03-13 16:24:19 -07:00
hal staging: r8188eu: Make firmware buffer persistent 2014-02-15 12:40:19 -08:00
include Staging: rtl8188eu: Fix sparse warning cast to restricted __le16 2014-03-07 14:44:04 -08:00
os_dep Staging: rtl8188eu: Fix warning of unchecked sscanf return value. 2014-03-13 16:06:31 -07:00
Kconfig staging: r8188eu: default to "y" in Kconfig 2014-02-11 12:22:31 -08:00
Makefile staging: r8188eu: Remove dead file 2014-02-11 12:41:14 -08:00
TODO staging: Additional item for rtl8188eu TODO list 2014-02-14 09:19:53 -08:00