linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* New wireless-testing has grown some warnings -- please fix ASAP!
@ 2011-11-09 21:50 John W. Linville
  2011-11-09 22:12 ` Johannes Berg
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: John W. Linville @ 2011-11-09 21:50 UTC (permalink / raw)
  To: linux-wireless

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-11-10 15:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-09 21:50 New wireless-testing has grown some warnings -- please fix ASAP! John W. Linville
2011-11-09 22:12 ` 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

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).