Re: [PATCH v2 3/3] staging: wfx: replace u32 by __le32

2019-11-11 Thread Joe Perches
On Mon, 2019-11-11 at 16:58 +, Jerome Pouiller wrote: > On Monday 11 November 2019 14:30:55 CET Jules Irenge wrote: > [...] > > - u32 count_rts_failures; > > - u32 count_ack_failures; > > - u32 count_rx_multicast_frames; > > - u32 count_rx_frames_success; > > -

Re: [PATCH v2 3/3] staging: wfx: replace u32 by __le32

2019-11-11 Thread Jerome Pouiller
On Monday 11 November 2019 14:30:55 CET Jules Irenge wrote: [...] > - u32 count_rts_failures; > - u32 count_ack_failures; > - u32 count_rx_multicast_frames; > - u32 count_rx_frames_success; > - u32 count_rx_cmacicv_errors; > - u32 count_rx_cmac_replay

Re: [PATCH v2 3/3] staging: wfx: replace u32 by __le32

2019-11-11 Thread Greg KH
On Mon, Nov 11, 2019 at 01:30:55PM +, Jules Irenge wrote: > Replace u32 by __le32 to fix warning of cast from restricted __le32. > Issue detected by sparse tool. > > Signed-off-by: Jules Irenge > --- > v1 uses casting to fix the warnings > v2 replace the declaration type of the variables > >

[PATCH v2 3/3] staging: wfx: replace u32 by __le32

2019-11-11 Thread Jules Irenge
Replace u32 by __le32 to fix warning of cast from restricted __le32. Issue detected by sparse tool. Signed-off-by: Jules Irenge --- v1 uses casting to fix the warnings v2 replace the declaration type of the variables drivers/staging/wfx/hif_api_mib.h | 48 +++ 1 file