Re: [PATCH 0/2] fix sparse warnings
From: karthek
Date: Wed Feb 24 2021 - 10:31:49 EST
On Sun, Feb 21, 2021 at 09:00:48PM +0530, karthik alapati wrote:
>
the following patches fixes two byte-order issues
>
and fixes these sparse warnings
>
>
>
drivers/staging//wimax/i2400m/op-rfkill.c:89:25: warning: incorrect type in assignment (different base types)
>
drivers/staging//wimax/i2400m/op-rfkill.c:89:25: expected restricted __le16 [usertype] length
>
drivers/staging//wimax/i2400m/op-rfkill.c:89:25: got unsigned long
>
.
>
drivers/staging//wimax/i2400m/fw.c:514:27: warning: restricted __le32 degrades to integer
>
>
>
karthik alapati (2):
>
staging: wimax/i2400m: fix byte-order issue
>
staging: wimax/i2400m: convert __le32 type to host byte-order
>
>
drivers/staging/wimax/i2400m/fw.c | 2 +-
>
drivers/staging/wimax/i2400m/op-rfkill.c | 2 +-
>
2 files changed, 2 insertions(+), 2 deletions(-)
>
>
--
>
2.30.1
>
ping?