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


Groups > linux.kernel > #1673848

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

From Greg KH <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH] Staging: wlan-ng: hfa384x_usb: Fixed sparse warning cast to restricted __le16
Date 2017-06-23 22:30 +0200
Message-ID <tVDnl-6P1-65@gated-at.bofh.it> (permalink)
References <tSWwa-78O-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@cdac.in>
> ---
>  drivers/staging/wlan-ng/hfa384x_usb.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Does not apply to my tree :(

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


Thread

Re: [PATCH] Staging: wlan-ng: hfa384x_usb: Fixed sparse warning cast  to restricted __le16 Greg KH <gregkh@linuxfoundation.org> - 2017-06-23 22:30 +0200

csiph-web