[PATCH 1/2] staging: rtl8188eu: fix type of wpa_ielen in rtw_get_cipher_info
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Thu Jan 19 09:50:28 UTC 2017
On Tue, Jan 17, 2017 at 08:46:59PM +0100, Pierre-Yves Kerbrat wrote:
> wpa_ielen was declared u32 when we actually use an int
>
> Fix sparse (-Wtypesign) issues:
> drivers/staging/rtl8188eu/core/rtw_ieee80211.c:1008:60: warning:
> incorrect type in argument 2 (different signedness)
> drivers/staging/rtl8188eu/core/rtw_ieee80211.c:1008:60: expected int
> *wpa_ie_len
> drivers/staging/rtl8188eu/core/rtw_ieee80211.c:1008:60: got unsigned
> int *<noident>
> drivers/staging/rtl8188eu/core/rtw_ieee80211.c:1021:69: warning:
> incorrect type in argument 2 (different signedness)
In the future, don't wrap warning messages like this, it makes it really
messy to read...
thanks,
greg k-h
More information about the devel
mailing list