1. 29 Apr, 2011 3 commits
    • John W. Linville's avatar
      mwifiex: fix copy-n-paste 'thinko' for tsf_val · f9c2fdba
      John W. Linville authored
        CC [M]  drivers/net/wireless/mwifiex/join.o
      drivers/net/wireless/mwifiex/join.c: In function ‘mwifiex_cmd_802_11_associate’:
      drivers/net/wireless/mwifiex/join.c:119:8: warning: ‘tsf_val’ may be used uninitialized in this function
      drivers/net/wireless/mwifiex/join.c:103:12: note: ‘tsf_val’ was declared here
      
      Looks like a copy-n-paste error, identical lines are a few lines below
      the ones removed, with an actual memcpy to tsf_val in between...
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      f9c2fdba
    • John W. Linville's avatar
      b43: avoid uninitialized variable warnings in phy_n · 2eeb6fd0
      John W. Linville authored
        CC [M]  drivers/net/wireless/b43/phy_n.o
      drivers/net/wireless/b43/phy_n.c: In function ‘b43_nphy_set_channel’:
      drivers/net/wireless/b43/phy_n.c:3848:47: warning: ‘tabent_r2’ may be used uninitialized in this function
      drivers/net/wireless/b43/phy_n.c:3849:47: warning: ‘tabent_r3’ may be used uninitialized in this function
      drivers/net/wireless/b43/phy_n.c: In function ‘b43_nphy_poll_rssi.clone.14’:
      drivers/net/wireless/b43/phy_n.c:2270:6: warning: ‘save_regs_phy$7’ may be used uninitialized in this function
      drivers/net/wireless/b43/phy_n.c:2270:6: warning: ‘save_regs_phy$8’ may be used uninitialized in this function
      
      FWIW, the usage of these variables is goverened by checks that match
      their initializations.  So, I think these are actually false warnings.
      Still, I would rather avoid the warning SPAM...
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      2eeb6fd0
    • John W. Linville's avatar
      ath5k: fix uninitialized var warning for txf2txs · e245292e
      John W. Linville authored
        CC [M]  drivers/net/wireless/ath/ath5k/reset.o
      drivers/net/wireless/ath/ath5k/reset.c: In function ‘ath5k_hw_init_core_clock’:
      drivers/net/wireless/ath/ath5k/reset.c:100:51: warning: ‘txf2txs’ may be used uninitialized in this function
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      e245292e
  2. 28 Apr, 2011 20 commits
  3. 26 Apr, 2011 17 commits