From: Johannes Berg <johannes@sipsolutions.net>
To: Arend van Spriel <arend@broadcom.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: mips: warning in net/mac80211/tx.c
Date: Sun, 25 Nov 2012 15:01:10 +0100 [thread overview]
Message-ID: <1353852070.9875.2.camel@jlt4.sipsolutions.net> (raw)
In-Reply-To: <50B20DAD.9030204@broadcom.com>
On Sun, 2012-11-25 at 13:23 +0100, Arend van Spriel wrote:
> Hi Johannes,
>
> I played with crosstool-ng to compile test our driver for a number of
> platforms that it is supposed to work on. The gcc version is 4.7.2.
>
> *mips*:
> CC [M] net/mac80211/tx.o
> net/mac80211/tx.c: In function 'ieee80211_subif_start_xmit':
> net/mac80211/tx.c:1797:22: error: 'chanctx_conf' may be used
> uninitialized in this function [-Werror=maybe-uninitialized]
Yeah it seems to randomly throw this warning under certain
circumstances, sometimes gcc doesn't seem to be able to prove that in
fact it *isn't* used uninitialized.
I think we should just leave the warning though, anything else I could
come up with to suppress it would just cause real ones to be suppressed
as well if somebody changes this code.
johannes
prev parent reply other threads:[~2012-11-25 14:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-25 12:23 mips: warning in net/mac80211/tx.c Arend van Spriel
2012-11-25 14:01 ` Johannes Berg [this message]
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=1353852070.9875.2.camel@jlt4.sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=arend@broadcom.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.