]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: rtl8188eu: fix sparse signedness warnings in rtw_set_ie
authorAishwarya Pant <aishpant@gmail.com>
Sat, 15 Apr 2017 12:38:10 +0000 (18:08 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Apr 2017 11:54:25 +0000 (13:54 +0200)
commit8321643cccd1fde463f890cddb853209c08db7d7
tree2cd40aea4ceac3ffa00fc42e03d9b5e84dfef81c
parentaf27bea4627358815b773fa2c31dabad62457308
staging: rtl8188eu: fix sparse signedness warnings in rtw_set_ie

Changed the type of sz from (int) to (unsigned int) to suppress
signedness mismatch warnings of the type-

drivers/staging/rtl8188eu//core/rtw_ieee80211.c:258:97: warning:
incorrect type in argument 5 (different signedness)
drivers/staging/rtl8188eu//core/rtw_ieee80211.c:258:97:    expected
unsigned int [usertype] *frlen
drivers/staging/rtl8188eu//core/rtw_ieee80211.c:258:97:    got int
*<noident>

Signed-off-by: Aishwarya Pant <aishpant@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_ieee80211.c