OpenCloudOS-Kernel/drivers/staging/gdm724x
Ebru Akagunduz 48131a6bda staging: gdm724x: Fix incorrect type in assignment
This patch fixes following sparse warnings:
drivers/staging/gdm724x/gdm_mux.c:389:32: warning: incorrect type in assignment (different base types)
drivers/staging/gdm724x/gdm_mux.c:389:32:    expected unsigned int [unsigned] start_flag
drivers/staging/gdm724x/gdm_mux.c:389:32:    got restricted __le32 [usertype] <noident
drivers/staging/gdm724x/gdm_mux.c:390:29: warning: incorrect type in assignment (different base types)
drivers/staging/gdm724x/gdm_mux.c:390:29:    expected unsigned int [unsigned] seq_num
drivers/staging/gdm724x/gdm_mux.c:390:29:    got restricted __le32 [usertype] <noident>
drivers/staging/gdm724x/gdm_mux.c:391:34: warning: incorrect type in assignment (different base types)
drivers/staging/gdm724x/gdm_mux.c:391:34:    expected unsigned int [unsigned] payload_size
drivers/staging/gdm724x/gdm_mux.c:391:34:    got restricted __le32 [usertype] <noident>
drivers/staging/gdm724x/gdm_mux.c:392:33: warning: incorrect type in assignment (different base types)
drivers/staging/gdm724x/gdm_mux.c:392:33:    expected unsigned short [unsigned] packet_type
drivers/staging/gdm724x/gdm_mux.c:392:33:    got restricted __le16 [usertype] <noident>

Sparse found above warnings, so this patch changes variable types of
structs. Because expected and got variable types are different.

Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>
Reviewed-by: Octavian Purdila <octavian.purdila@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-10-20 10:29:18 +08:00
..
Kconfig staging: gdm724x: depend on CONFIG_TTY 2013-07-29 12:27:40 -07:00
Makefile
TODO staging: gdm724x: add tty stuff to TODO file. 2013-07-24 13:16:53 -07:00
gdm_endian.c staging: gdm724x: Modified function name conflict set_endian 2013-07-29 11:29:37 -07:00
gdm_endian.h staging: gdm724x: Modified function name conflict set_endian 2013-07-29 11:29:37 -07:00
gdm_lte.c staging: gdm724x: Fix warning of prefer ether_addr_copy. 2014-10-20 10:29:18 +08:00
gdm_lte.h staging: removed space after return function in gdm_lte.h 2014-03-16 20:34:28 -07:00
gdm_mux.c staging: gdm724x: Fix missing blank line warning. 2014-09-19 16:56:46 -07:00
gdm_mux.h staging: gdm724x: Fix incorrect type in assignment 2014-10-20 10:29:18 +08:00
gdm_tty.c Staging: gdm724x: gdm_tty.c: fix missing blank line after variable declaration 2014-07-17 18:05:47 -07:00
gdm_tty.h staging: gdm7240: a TTY rewrite according to the latest TTY APIs 2013-08-19 15:30:59 -07:00
gdm_usb.c staging: gdm724x: Removed unnecessary else expression. 2014-09-28 23:27:34 -04:00
gdm_usb.h staging: gdm724x: Remove version.h header inclusion in gdm_usb.h 2013-07-25 12:11:58 -07:00
hci.h
hci_packet.h
netlink_k.c staging: gdm724x: Use NLMSG_HDRLEN 2014-07-22 16:08:13 -07:00
netlink_k.h