Search Linux Wireless

Re: mips: warning in net/mac80211/tx.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux