From: Jérôme Pouiller <jerome.pouiller@xxxxxxxxxx> Hello, As already discussed here[1], this series improves support for big endian hosts. All warnings raised by sparse are now fixed. Note, this series aims to be applied on top of PR named "staging: wfx: fix Out-Of-Band IRQ" [1] https://lore.kernel.org/lkml/20191111202852.GX26530@xxxxxxxxxxxxxxxxxx Jérôme Pouiller (17): staging: wfx: fix use of cpu_to_le32 instead of le32_to_cpu staging: wfx: take advantage of le32_to_cpup() staging: wfx: fix cast operator staging: wfx: fix wrong bytes order staging: wfx: fix output of rx_stats on big endian hosts staging: wfx: fix endianness of fields media_delay and tx_queue_delay staging: wfx: fix endianness of hif_req_read_mib fields staging: wfx: fix access to le32 attribute 'ps_mode_error' staging: wfx: fix access to le32 attribute 'event_id' staging: wfx: fix access to le32 attribute 'indication_type' staging: wfx: declare the field 'packet_id' with native byte order staging: wfx: fix endianness of the struct hif_ind_startup staging: wfx: fix endianness of the field 'len' staging: wfx: fix endianness of the field 'status' staging: wfx: fix endianness of the field 'num_tx_confs' staging: wfx: fix endianness of the field 'channel_number' staging: wfx: update TODO drivers/staging/wfx/TODO | 19 --------- drivers/staging/wfx/bh.c | 11 +++--- drivers/staging/wfx/data_rx.c | 4 +- drivers/staging/wfx/data_tx.c | 9 +++-- drivers/staging/wfx/debug.c | 11 ++++-- drivers/staging/wfx/hif_api_cmd.h | 42 +++++++++----------- drivers/staging/wfx/hif_api_general.h | 55 +++++++++++++++++---------- drivers/staging/wfx/hif_rx.c | 32 ++++++++-------- drivers/staging/wfx/hif_tx.c | 20 +++++----- drivers/staging/wfx/hif_tx_mib.c | 2 +- drivers/staging/wfx/hwio.c | 2 +- drivers/staging/wfx/main.c | 2 +- drivers/staging/wfx/traces.h | 8 ++-- 13 files changed, 105 insertions(+), 112 deletions(-) -- 2.26.2