Re: [PATCH] staging: wlan-ng: Fix endianness warnings

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

 



On Wed, Jul 12, 2017 at 09:38:50PM +0100, alfonsolimaastor@xxxxxxxxx wrote:
> From: Alfonso Lima Astor <alfonsolimaastor@xxxxxxxxx>
> 
> These variables were set to u16 and u32 although they always hold a little
> endian value.
> 
> This patch fixes multiple sparse warnings like:
> drivers/staging/wlan-ng/prism2sta.c:375:46: warning: cast to restricted __le16
> 
> Signed-off-by: Alfonso Lima Astor <alfonsolimaastor@xxxxxxxxx>
> ---
>  drivers/staging/wlan-ng/hfa384x.h   | 92 ++++++++++++++++++-------------------
>  drivers/staging/wlan-ng/prism2sta.c |  8 ++--
>  2 files changed, 50 insertions(+), 50 deletions(-)

Does not apply to my tree, I think someone else already did this same
thing, sorry.

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