linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/17] staging: wfx: fix support for big-endian hosts
@ 2020-05-12 15:03 Jerome Pouiller
  2020-05-12 15:03 ` [PATCH v2 01/17] staging: wfx: fix use of cpu_to_le32 instead of le32_to_cpu Jerome Pouiller
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: Jerome Pouiller @ 2020-05-12 15:03 UTC (permalink / raw)
  To: devel, linux-wireless
  Cc: netdev, linux-kernel, Greg Kroah-Hartman, Kalle Valo,
	David S . Miller, Jérôme Pouiller

From: Jérôme Pouiller <jerome.pouiller@silabs.com>

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@ZenIV.linux.org.uk

v2:
  Rewrite patch 13: keep the endianness of the field 'len' as-is and fix
  the accesses.

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 access to le32 attribute '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              | 17 +++++-----
 drivers/staging/wfx/data_rx.c         |  4 +--
 drivers/staging/wfx/data_tx.c         |  7 ++--
 drivers/staging/wfx/debug.c           | 13 +++++---
 drivers/staging/wfx/hif_api_cmd.h     | 42 ++++++++++--------------
 drivers/staging/wfx/hif_api_general.h | 47 ++++++++++++++++-----------
 drivers/staging/wfx/hif_rx.c          | 38 ++++++++++++----------
 drivers/staging/wfx/hif_tx.c          | 18 +++++-----
 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          | 10 +++---
 13 files changed, 104 insertions(+), 117 deletions(-)

-- 
2.26.2


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2020-05-12 15:05 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-12 15:03 [PATCH v2 00/17] staging: wfx: fix support for big-endian hosts Jerome Pouiller
2020-05-12 15:03 ` [PATCH v2 01/17] staging: wfx: fix use of cpu_to_le32 instead of le32_to_cpu Jerome Pouiller
2020-05-12 15:03 ` [PATCH v2 02/17] staging: wfx: take advantage of le32_to_cpup() Jerome Pouiller
2020-05-12 15:04 ` [PATCH v2 03/17] staging: wfx: fix cast operator Jerome Pouiller
2020-05-12 15:04 ` [PATCH v2 04/17] staging: wfx: fix wrong bytes order Jerome Pouiller
2020-05-12 15:04 ` [PATCH v2 05/17] staging: wfx: fix output of rx_stats on big endian hosts Jerome Pouiller
2020-05-12 15:04 ` [PATCH v2 06/17] staging: wfx: fix endianness of fields media_delay and tx_queue_delay Jerome Pouiller
2020-05-12 15:04 ` [PATCH v2 07/17] staging: wfx: fix endianness of hif_req_read_mib fields Jerome Pouiller
2020-05-12 15:04 ` [PATCH v2 08/17] staging: wfx: fix access to le32 attribute 'ps_mode_error' Jerome Pouiller
2020-05-12 15:04 ` [PATCH v2 09/17] staging: wfx: fix access to le32 attribute 'event_id' Jerome Pouiller
2020-05-12 15:04 ` [PATCH v2 10/17] staging: wfx: fix access to le32 attribute 'indication_type' Jerome Pouiller
2020-05-12 15:04 ` [PATCH v2 11/17] staging: wfx: declare the field 'packet_id' with native byte order Jerome Pouiller
2020-05-12 15:04 ` [PATCH v2 12/17] staging: wfx: fix endianness of the struct hif_ind_startup Jerome Pouiller
2020-05-12 15:04 ` [PATCH v2 13/17] staging: wfx: fix access to le32 attribute 'len' Jerome Pouiller
2020-05-12 15:04 ` [PATCH v2 14/17] staging: wfx: fix endianness of the field 'status' Jerome Pouiller
2020-05-12 15:04 ` [PATCH v2 15/17] staging: wfx: fix endianness of the field 'num_tx_confs' Jerome Pouiller
2020-05-12 15:04 ` [PATCH v2 16/17] staging: wfx: fix endianness of the field 'channel_number' Jerome Pouiller
2020-05-12 15:04 ` [PATCH v2 17/17] staging: wfx: update TODO Jerome Pouiller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).