linux-sg2042/drivers/staging/wilc1000
Ajay Singh 02211edc9a staging: wilc1000: fix endianness warnings reported by sparse
This patch fixes the sparse warnings by making use of le32_to_cpus() &
cpu_to_le32s() conversion API's.
Remove the unnecessary byte-order conversion in
wilc_wlan_parse_response_frame() as the data is copied using individual
byte operation.

Also added the byte-order conversion for 'header' in
wilc_wfi_monitor_rx() & wilc_wfi_p2p_rx() as received in LE byte-order.

The link [1] contains the details of discussion related to this patch.

[1]. https://patchwork.kernel.org/patch/10436791/

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-02 09:41:37 +02:00
..
Kconfig staging: wilc1000: removes WIRELESS_EXT 2016-03-28 07:30:36 -07:00
Makefile staging: wilc1000: fix TODO to compile spi and sdio components in single module 2018-08-02 09:35:05 +02:00
TODO staging: wilc1000: fix TODO to compile spi and sdio components in single module 2018-08-02 09:35:05 +02:00
coreconfigurator.c staging: wilc1000: avoid setting default value for variable at declaration 2018-07-21 09:04:48 +02:00
coreconfigurator.h staging: wilc1000: remove enum connect_status instead use ieee80211_statuscode 2018-07-21 09:04:47 +02:00
host_interface.c staging: wilc1000: rename 'rcvd_ch_cnt' element in 'user_scan_req' struct 2018-08-02 09:35:05 +02:00
host_interface.h staging: wilc1000: rename 'rcvd_ch_cnt' element in 'user_scan_req' struct 2018-08-02 09:35:05 +02:00
linux_mon.c staging: wilc1000: fix endianness warnings reported by sparse 2018-08-02 09:41:37 +02:00
linux_wlan.c staging: wilc1000: fix TODO to compile spi and sdio components in single module 2018-08-02 09:35:05 +02:00
microchip,wilc1000,sdio.txt staging: wilc1000: use descriptor-based interface for GPIO 2018-07-24 13:52:32 +02:00
microchip,wilc1000,spi.txt staging: wilc1000: use descriptor-based interface for GPIO 2018-07-24 13:52:32 +02:00
wilc_debugfs.c staging: wilc1000: remove unnecessary comments and comments description 2018-08-02 09:35:05 +02:00
wilc_sdio.c staging: wilc1000: fix endianness warnings reported by sparse 2018-08-02 09:41:37 +02:00
wilc_spi.c staging: wilc1000: fix endianness warnings reported by sparse 2018-08-02 09:41:37 +02:00
wilc_wfi_cfgoperations.c staging: wilc1000: fix endianness warnings reported by sparse 2018-08-02 09:41:37 +02:00
wilc_wfi_cfgoperations.h staging: wilc1000: fix line over 80 chars in wilc_create_wiphy() declaration 2018-05-14 14:04:48 +02:00
wilc_wfi_netdevice.h staging: wilc1000: added comments for 'hif_cs' mutex lock 2018-08-02 09:35:05 +02:00
wilc_wlan.c staging: wilc1000: fix endianness warnings reported by sparse 2018-08-02 09:41:37 +02:00
wilc_wlan.h staging: wilc1000: remove unnecessary comments and comments description 2018-08-02 09:35:05 +02:00
wilc_wlan_cfg.c staging: wilc1000: fix endianness warnings reported by sparse 2018-08-02 09:41:37 +02:00
wilc_wlan_cfg.h staging: wilc1000: use 'u16' data type for config id parameter 2018-08-02 09:41:37 +02:00
wilc_wlan_if.h staging: wilc1000: fix TODO to compile spi and sdio components in single module 2018-08-02 09:35:05 +02:00