[PATCH] Staging: wlan-ng: Fix sparse warnings by using appropriate endian types

Greg KH gregkh at linuxfoundation.org
Tue Jun 13 10:06:09 UTC 2017


On Wed, Jun 07, 2017 at 11:57:08AM +0200, Antoine BLIN wrote:
> From: Antoine <antoine.blin at lip6.fr>
> 
> Fix the following sparse endianness warnings:
> 
> drivers/staging/wlan-ng/prism2sta.c:1949:17: warning: cast to restricted __le16
> drivers/staging/wlan-ng/prism2sta.c:1949:17: warning: cast to restricted __le16
> drivers/staging/wlan-ng/prism2sta.c:1949:17: warning: cast to restricted __le16
> drivers/staging/wlan-ng/prism2sta.c:375:46: warning: cast to restricted __le16
> drivers/staging/wlan-ng/prism2sta.c:377:33: warning: cast to restricted __le16
> drivers/staging/wlan-ng/prism2sta.c:378:47: warning: cast to restricted __le16
> 
> Signed-off-by: antoine <antoine.blin at lip6.fr>

I need a "real" name here, one you use to sign legal documents.

thanks,

greg k-h


More information about the devel mailing list