Re: [PATCH] staging: wimax/i2400m: fix some byte order issues found by sparse

2021-02-12 Thread Anirudh Rayabharam
On Fri, Feb 12, 2021 at 03:43:10PM +0100, Greg KH wrote: > On Fri, Feb 12, 2021 at 08:00:25PM +0530, Anirudh Rayabharam wrote: > > On Thu, Feb 11, 2021 at 09:35:27PM +0100, Greg KH wrote: > > > On Fri, Feb 12, 2021 at 01:59:08AM +0530, Anirudh Rayabharam wrote: > > > > Fix sparse byte-order warning

Re: [PATCH] staging: wimax/i2400m: fix some byte order issues found by sparse

2021-02-12 Thread Greg KH
On Fri, Feb 12, 2021 at 08:00:25PM +0530, Anirudh Rayabharam wrote: > On Thu, Feb 11, 2021 at 09:35:27PM +0100, Greg KH wrote: > > On Fri, Feb 12, 2021 at 01:59:08AM +0530, Anirudh Rayabharam wrote: > > > Fix sparse byte-order warnings in the i2400m_bm_cmd_prepare() > > > function: > > > > > > wim

Re: [PATCH] staging: wimax/i2400m: fix some byte order issues found by sparse

2021-02-12 Thread Anirudh Rayabharam
On Thu, Feb 11, 2021 at 09:35:27PM +0100, Greg KH wrote: > On Fri, Feb 12, 2021 at 01:59:08AM +0530, Anirudh Rayabharam wrote: > > Fix sparse byte-order warnings in the i2400m_bm_cmd_prepare() > > function: > > > > wimax/i2400m/fw.c:194:36: warning: restricted __le32 degrades to integer > > wimax/

Re: [PATCH] staging: wimax/i2400m: fix some byte order issues found by sparse

2021-02-11 Thread Greg KH
On Fri, Feb 12, 2021 at 01:59:08AM +0530, Anirudh Rayabharam wrote: > Fix sparse byte-order warnings in the i2400m_bm_cmd_prepare() > function: > > wimax/i2400m/fw.c:194:36: warning: restricted __le32 degrades to integer > wimax/i2400m/fw.c:195:34: warning: invalid assignment: += > wimax/i2400m/fw

[PATCH] staging: wimax/i2400m: fix some byte order issues found by sparse

2021-02-11 Thread Anirudh Rayabharam
Fix sparse byte-order warnings in the i2400m_bm_cmd_prepare() function: wimax/i2400m/fw.c:194:36: warning: restricted __le32 degrades to integer wimax/i2400m/fw.c:195:34: warning: invalid assignment: += wimax/i2400m/fw.c:195:34:left side has type unsigned int wimax/i2400m/fw.c:195:34:right