On Thu, Sep 06, 2012 at 11:00:01PM +0800, Berg, Johannes wrote: > Hi, > > Thanks. > > > net/mac80211/mlme.c: In function 'ieee80211_rx_mgmt_beacon': > > net/mac80211/mlme.c:903:43: warning: 'chan_pwr' may be used uninitialized > > in this function [-Wmaybe-uninitialized] > > net/mac80211/mlme.c:871:6: note: 'chan_pwr' was declared here > > I think this is a false positive? It's only used if have_chan_pwr is true, and that's set only if chan_pwr is set. Yes..many of the compiler warnings are false ones. They are sent out anyway because I believe it's good practice to just quiet *all* gcc warnings. Would you apply the followed fix? Thanks, Fengguang -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html