[PATCH] staging wlan-ng: mark PDA buf as __le16

Greg Kroah-Hartman gregkh at linuxfoundation.org
Sat Apr 8 11:01:25 UTC 2017


On Fri, Apr 07, 2017 at 02:47:55PM +0200, Maciek Borzecki wrote:
> PDA buffer contains little-endian data, clearly mark it as such.
> 
> Fixes sparse warnings:
>   drivers/staging/wlan-ng/hfa384x_usb.c:2359:34: warning: cast to restricted __le16
>   drivers/staging/wlan-ng/hfa384x_usb.c:2360:35: warning: cast to restricted __le16
>   drivers/staging/wlan-ng/hfa384x_usb.c:2382:44: warning: cast to restricted __le16
> 
> Signed-off-by: Maciek Borzecki <maciek.borzecki at gmail.com>
> ---
>  drivers/staging/wlan-ng/hfa384x_usb.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

This patch does not apply to my tree at all, what did you make it
against?

thanks,

greg k-h


More information about the devel mailing list