Re: [PATCH 1/2] staging: rtl8188eu: fix type of wpa_ielen in rtw_get_cipher_info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux