From: Larry Finger <Larry.Finger@lwfinger.net>
To: wireless <linux-wireless@vger.kernel.org>, Jouni Malinen <j@w1.fi>
Subject: Sparse warnings
Date: Fri, 27 Jun 2008 14:52:26 -0500 [thread overview]
Message-ID: <486544FA.20605@lwfinger.net> (raw)
While checking the rtl8187 driver for sparse warnings, I discovered these:
CHECK drivers/net/wireless/hostap/hostap_80211_rx.c
drivers/net/wireless/hostap/hostap_80211_rx.c:128:34: warning: symbol
'hdr' shadows an earlier one
drivers/net/wireless/hostap/hostap_80211_rx.c:67:29: originally
declared here
drivers/net/wireless/hostap/hostap_80211_rx.c:150:32: warning: symbol
'hdr' shadows an earlier one
drivers/net/wireless/hostap/hostap_80211_rx.c:67:29: originally
declared here
CHECK drivers/net/wireless/hostap/hostap_ap.c
drivers/net/wireless/hostap/hostap_ap.c:1933:18: warning: cast
truncates bits from constant value (ffffffffffff3fff becomes 3fff)
CHECK drivers/net/wireless/hostap/hostap_main.c
drivers/net/wireless/hostap/hostap_main.c:597:5: warning: symbol
'hostap_80211_header_parse' was not declared. Should it be static?
Obviously, none of these cause any problems, but I'm reporting them
just in case.
Larry
next reply other threads:[~2008-06-27 19:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-27 19:52 Larry Finger [this message]
2008-06-27 19:53 ` Sparse warnings Pavel Roskin
-- strict thread matches above, loose matches on Subject: below --
2008-09-11 10:46 sparse warnings Johannes Berg
2008-10-28 15:57 Johannes Berg
2008-10-29 8:06 ` Holger Schurig
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=486544FA.20605@lwfinger.net \
--to=larry.finger@lwfinger.net \
--cc=j@w1.fi \
--cc=linux-wireless@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).