From: Greg KH <gregkh@linuxfoundation.org>
To: Matthew Giassa <matthew@giassa.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: wlan-ng: resolve sparse endianness error.
Date: Fri, 3 Nov 2017 12:49:46 +0100 [thread overview]
Message-ID: <20171103114946.GA19386@kroah.com> (raw)
In-Reply-To: <1508911578-24097-1-git-send-email-matthew@giassa.net>
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@giassa.net>
> ---
> drivers/staging/wlan-ng/prism2sta.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
This does not apply to my tree at all :(
next prev parent reply other threads:[~2017-11-03 11:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-25 6:06 [PATCH] staging: wlan-ng: resolve sparse endianness error Matthew Giassa
2017-11-03 11:49 ` Greg KH [this message]
2017-11-06 15:32 ` Matthew Giassa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171103114946.GA19386@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matthew@giassa.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox