From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Cc: devel@driverdev.osuosl.org,
Elise Lennion <elise.lennion@gmail.com>,
Arnd Bergmann <arnd@arndb.de>,
linux-kernel@vger.kernel.org,
Tobias Klauser <tklauser@distanz.ch>,
simran singhal <singhalsimran0@gmail.com>,
Bhumika Goyal <bhumirks@gmail.com>
Subject: Re: [PATCH] staging: rtl8192u: Fix sparse warning
Date: Fri, 28 Apr 2017 12:29:55 +0200 [thread overview]
Message-ID: <20170428102955.GA20343@kroah.com> (raw)
In-Reply-To: <20170423205229.6347-1-marcos.souza.org@gmail.com>
On Sun, Apr 23, 2017 at 05:51:17PM -0300, Marcos Paulo de Souza wrote:
> Fix the following sparse warning:
> rtl8192u/ieee80211/ieee80211_rx.c:1489:45: warning: incorrect type in assignment (different base types)
> rtl8192u/ieee80211/ieee80211_rx.c:1489:45: expected restricted __le16 <noident>
> rtl8192u/ieee80211/ieee80211_rx.c:1489:45: got unsigned short [unsigned] [usertype] <noident>
>
> Since ac_params->tx_op_limit is already an __le16, we shouldn't convert it into cpu type.
>
> Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
> ---
>
> Sorry, I don't have the hardware to test, so please review and tell me if I'm wrong in this one!
Patch doesn't apply to my tree at all :(
next prev parent reply other threads:[~2017-04-28 10:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-23 20:51 [PATCH] staging: rtl8192u: Fix sparse warning Marcos Paulo de Souza
2017-04-28 10:29 ` Greg Kroah-Hartman [this message]
2017-04-28 10:52 ` Marcos Paulo de Souza
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=20170428102955.GA20343@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=arnd@arndb.de \
--cc=bhumirks@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=elise.lennion@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcos.souza.org@gmail.com \
--cc=singhalsimran0@gmail.com \
--cc=tklauser@distanz.ch \
/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