linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "John W. Linville" <linville@tuxdriver.com>
To: linux-wireless@vger.kernel.org
Subject: New wireless-testing has grown some warnings -- please fix ASAP!
Date: Wed, 9 Nov 2011 16:50:08 -0500	[thread overview]
Message-ID: <20111109215007.GD10712@tuxdriver.com> (raw)

commit befdbc51cc69c01cd412ad2429960b9c3042f97c is the current
wireless-testing head.

This iteration of wireless-testing seems to have grown some
warnings.  Some of them come from a new __must_check annotation of
cfg80211_inform_bss, while others are simply unused or uninitialized
variables.  In any case, I would prefer not to see them.

Please check the wireless-testing build and attempt to squash any
warnings that can be reasonably squashed.  Those who do not do so
will be subject to irritated sighs over IRC, drunken emails about
my new DVD rental service, and accusations of making unwanted sexual
advances toward me.  You've been warned.

John

---

  CC [M]  net/wireless/nl80211.o
net/wireless/nl80211.c: In function ‘nl80211_tx_mgmt’:
net/wireless/nl80211.c:5286:8: warning: ‘hdr’ may be used uninitialized in this function

  CC [M]  drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.o
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c: In function ‘wl_inform_ibss’:
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c:2152:21: warning: ignoring return value of ‘cfg80211_inform_bss’, declared with attribute warn_unused_result

  CC [M]  drivers/net/wireless/libertas/cfg.o
drivers/net/wireless/libertas/cfg.c: In function ‘lbs_ret_scan’:
drivers/net/wireless/libertas/cfg.c:636:24: warning: ignoring return value of ‘cfg80211_inform_bss’, declared with attribute warn_unused_result
drivers/net/wireless/libertas/cfg.c: In function ‘lbs_join_post’:
drivers/net/wireless/libertas/cfg.c:1766:21: warning: ignoring return value of ‘cfg80211_inform_bss’, declared with attribute warn_unused_result

  CC [M]  drivers/net/wireless/mwifiex/cfg80211.o
drivers/net/wireless/mwifiex/cfg80211.c: In function ‘mwifiex_cfg80211_inform_ibss_bss’:
drivers/net/wireless/mwifiex/cfg80211.c:803:21: warning: ignoring return value of ‘cfg80211_inform_bss’, declared with attribute warn_unused_result

-- 
John W. Linville		Someday the world will need a hero, and you
linville@tuxdriver.com			might be all we have.  Be ready.

             reply	other threads:[~2011-11-09 22:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-09 21:50 John W. Linville [this message]
2011-11-09 22:12 ` New wireless-testing has grown some warnings -- please fix ASAP! Johannes Berg
2011-11-09 22:55 ` Bing Zhao
2011-11-09 23:58 ` Larry Finger
2011-11-10 15:01   ` John W. Linville
2011-11-10  8:44 ` [PATCH] nl80211: fix compiler warning Johannes Berg

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=20111109215007.GD10712@tuxdriver.com \
    --to=linville@tuxdriver.com \
    --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).