[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171103114946.GA19386@kroah.com>
Date: Fri, 3 Nov 2017 12:49:46 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Matthew Giassa <matthew@...ssa.net>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: wlan-ng: resolve sparse endianness error.
On Tue, Oct 24, 2017 at 11:06:18PM -0700, Matthew Giassa wrote:
> Adding le16_to_cpu conversion in prism2sta.c, to resolve outstanding
> sparse errors as noted in the current TODO in staging-next. Original
> error:
>
> CHECK drivers/staging//wlan-ng/prism2usb.c
> drivers/staging//wlan-ng/prism2sta.c:1450:29: warning: incorrect type in assignment (different base types)
> drivers/staging//wlan-ng/prism2sta.c:1450:29: expected unsigned short [unsigned] [usertype] link_status_new
> drivers/staging//wlan-ng/prism2sta.c:1450:29: got restricted __le16 [usertype] linkstatus
>
> Sparse error no longer present after change.
>
> Signed-off-by: Matthew Giassa <matthew@...ssa.net>
> ---
> drivers/staging/wlan-ng/prism2sta.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
This does not apply to my tree at all :(
Powered by blists - more mailing lists