diff options
| author | Ajay Singh <ajay.kathat@microchip.com> | 2018-08-01 14:11:00 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-02 10:41:37 +0300 |
| commit | 02211edc9a1f71942a67d545614f8c7382230de7 (patch) | |
| tree | cb8b875d2ff54424504c4f98957162be3a951b58 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 41203a451b6c9f6458195d9c0de964bf33c52e93 (diff) | |
| download | linux-02211edc9a1f71942a67d545614f8c7382230de7.tar.xz | |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
