2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 04:03:58 +08:00
linux-next/drivers/staging/rtl8192u
Koray Gulcu 7d95983735 staging: rtl8192u: Fix sparse warnings of r8182U_core
This patch fixes the following endianness warnings found by sparse running with CF=-D__CHECK_ENDIAN__:

drivers/staging/rtl8192u/r8192U_core.c:1794:10: warning: incorrect type in initializer (different base types)
drivers/staging/rtl8192u/r8192U_core.c:1794:10:    expected restricted __le16
drivers/staging/rtl8192u/r8192U_core.c:1794:10:    got int
drivers/staging/rtl8192u/r8192U_core.c:1794:13: warning: incorrect type in initializer (different base types)
drivers/staging/rtl8192u/r8192U_core.c:1794:13:    expected restricted __le16
drivers/staging/rtl8192u/r8192U_core.c:1794:13:    got int
drivers/staging/rtl8192u/r8192U_core.c:1794:16: warning: incorrect type in initializer (different base types)
drivers/staging/rtl8192u/r8192U_core.c:1794:16:    expected restricted __le16
drivers/staging/rtl8192u/r8192U_core.c:1794:16:    got int
drivers/staging/rtl8192u/r8192U_core.c:1794:19: warning: incorrect type in initializer (different base types)
drivers/staging/rtl8192u/r8192U_core.c:1794:19:    expected restricted __le16
drivers/staging/rtl8192u/r8192U_core.c:1794:19:    got int
drivers/staging/rtl8192u/r8192U_core.c:1795:10: warning: incorrect type in initializer (different base types)
drivers/staging/rtl8192u/r8192U_core.c:1795:10:    expected restricted __le16
drivers/staging/rtl8192u/r8192U_core.c:1795:10:    got int
drivers/staging/rtl8192u/r8192U_core.c:1795:13: warning: incorrect type in initializer (different base types)
drivers/staging/rtl8192u/r8192U_core.c:1795:13:    expected restricted __le16
drivers/staging/rtl8192u/r8192U_core.c:1795:13:    got int
drivers/staging/rtl8192u/r8192U_core.c:1795:16: warning: incorrect type in initializer (different base types)
drivers/staging/rtl8192u/r8192U_core.c:1795:16:    expected restricted __le16
drivers/staging/rtl8192u/r8192U_core.c:1795:16:    got int
drivers/staging/rtl8192u/r8192U_core.c:1795:19: warning: incorrect type in initializer (different base types)
drivers/staging/rtl8192u/r8192U_core.c:1795:19:    expected restricted __le16
drivers/staging/rtl8192u/r8192U_core.c:1795:19:    got int
drivers/staging/rtl8192u/r8192U_core.c:1838:34: warning: cast from restricted __le16
drivers/staging/rtl8192u/r8192U_core.c:1839:34: warning: cast from restricted __le16
drivers/staging/rtl8192u/r8192U_core.c:1840:34: warning: cast from restricted __le16

Signed-off-by: Koray Gulcu <koray.gulcu@ozu.edu.tr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-10-29 16:43:41 +08:00
..
ieee80211 Staging: rtl8192u: Annotate association types with proper endianness 2014-10-28 15:53:26 +08:00
authors
changes
copying staging: rtl8192u: Fixed trailing whitespace in copying 2014-09-28 23:39:27 -04:00
Kconfig Kconfig: Remove useless "default N" lines 2014-02-20 14:38:06 +01:00
Makefile staging: rtl8192u: remove unused define USB_RX_AGGREGATION_SUPPORT 2014-08-16 12:23:10 -07:00
r819xU_cmdpkt.c drivers/staging: Remove useless return variables 2014-05-26 10:32:15 -07:00
r819xU_cmdpkt.h staging: rtl8192u: use __packed instead of __attribute__((packed)) 2013-10-11 15:42:54 -07:00
r819xU_firmware_img.c Staging: rtl8192u: r819xU_firmware_img.c Fixed checkpatch.pl ERRORs 2014-05-25 11:25:40 -07:00
r819xU_firmware_img.h
r819xU_firmware.c staging: rtl8192u: add intermediate variable 2014-10-20 10:29:14 +08:00
r819xU_firmware.h staging: rtl8192u: Add space after enum definition 2014-10-20 10:29:15 +08:00
r819xU_phy.c staging: rtl8192u: Missing a blank line after declarations. 2014-10-20 10:29:15 +08:00
r819xU_phy.h staging: rtl8192u: use __packed instead of __attribute__((packed)) 2013-10-11 15:42:54 -07:00
r819xU_phyreg.h staging:r819xU: coding style: Fixed commenting style 2014-08-16 12:23:15 -07:00
r8180_93cx6.c staging:r8180: coding style: Fixed commenting style 2014-08-01 14:42:52 -07:00
r8180_93cx6.h staging:r8180: coding style: Fixed too long lines 2014-08-01 14:42:52 -07:00
r8190_rtl8256.c staging:r8190_rtl8256: coding style: Fixed commenting style 2014-09-11 14:47:59 -07:00
r8190_rtl8256.h
r8192U_core.c staging: rtl8192u: Fix sparse warnings of r8182U_core 2014-10-29 16:43:41 +08:00
r8192U_dm.c staging: rtl8192u: delete successive assignments to the same location 2014-10-28 15:53:26 +08:00
r8192U_dm.h staging: rtl8192u: Fix whitespaces in function declarations in r8192U_dm.h 2014-03-19 09:29:55 -07:00
r8192U_hw.h drivers: staging: rtl8192u: Fix "space required before that '*'" errors 2014-09-08 13:59:25 -07:00
r8192U_wx.c staging: rtl8192u: Remove unnecessary if 2014-10-27 10:33:05 +08:00
r8192U_wx.h
r8192U.h staging: delete non-required instances of include <linux/init.h> 2013-12-17 10:08:14 -08:00