Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1689782

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

From Greg KH <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH] staging: wlan-ng: Fix endianness warnings
Date 2017-07-18 09:00 +0200
Message-ID <u4uE9-7rF-3@gated-at.bofh.it> (permalink)
References <u2wK5-4AU-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jul 12, 2017 at 09:38:50PM +0100, alfonsolimaastor@gmail.com wrote:
> From: Alfonso Lima Astor <alfonsolimaastor@gmail.com>
> 
> 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@gmail.com>
> ---
>  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

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] staging: wlan-ng: Fix endianness warnings alfonsolimaastor@gmail.com - 2017-07-12 22:50 +0200
  Re: [PATCH] staging: wlan-ng: Fix endianness warnings Greg KH <gregkh@linuxfoundation.org> - 2017-07-18 09:00 +0200

csiph-web