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

From: Greg KH
Date: Tue Jun 13 2017 - 06:06:21 EST


On Wed, Jun 07, 2017 at 11:57:08AM +0200, Antoine BLIN wrote:
> From: Antoine <antoine.blin@xxxxxxx>
>
> 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@xxxxxxx>

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

thanks,

greg k-h