Re: [PATCH 0/2] staging: rtl8732bs: Fix sparse warnings

Greg Kroah-Hartman
2021-08-17T17:54:21Z

On Mon, Aug 16, 2021 at 11:00:41PM +0530, Aakash Hemadri wrote:
> This patchset fixes the below sparse warnings
>
> rtw_security.c:72:50: warning: incorrect type in assignment (different base types)
> rtw_security.c:72:50: expected restricted __le32 [usertype]
> rtw_security.c:72:50: got unsigned int
> rtw_security.c:80:50: warning: incorrect type in assignment (different base types)
> rtw_security.c:80:50: expected restricted __le32 [usertype]
> rtw_security.c:80:50: got unsigned int
> rtw_security.c:124:33: warning: cast to restricted __le32
> rtw_security.c:509:58: warning: incorrect type in assignment (different base types)
> rtw_security.c:509:58: expected restricted __le32 [usertype]
> rtw_security.c:509:58: got unsigned int
> rtw_security.c:517:58: warning: incorrect type in assignment (different base types)
> rtw_security.c:517:58: expected restricted __le32 [usertype]
> rtw_security.c:517:58: got unsigned int
> rtw_security.c:621:41: warning: cast to restricted __le32
>
> This can be applied cleanly on next-20210816, and is compile tested.
>
> Aakash Hemadri (2):
> staging: rtl8732bs: incorrect type in assignment
> staging: rtl8723bs: cast to restricted __le32
>
> rtw_security.c | 15 +++++++++------
> 1 file changed, 9 insertions(+), 6 deletions(-)

This series does not apply to my tree at all. Please fix up and rebase
and resubmit, after reading the mailing list archives for others that
have attempted do do this type of work in the past for this issue.

It is not a trivial change that is needed...

thanks,

greg k-h