[PATCH] Staging: wlan-ng: hfa384x_usb: Fixed sparse warning cast to restricted __le16

Greg KH gregkh at linuxfoundation.org
Fri Jun 23 17:44:08 UTC 2017


On Fri, Jun 16, 2017 at 03:35:07PM +0530, Jaya Durga wrote:
> when building with make C=1 CF=-D__CHECK_ENDIAN__
> 
> drivers/staging/wlan-ng/hfa384x_usb.c:3383:36: warning: cast to restricted __le16
> 
> fixed by using the le16_to_cpus function.
> 
> Signed-off-by: Jaya Durga <jayad at cdac.in>
> ---
>  drivers/staging/wlan-ng/hfa384x_usb.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Does not apply to my tree :(


More information about the devel mailing list