1. 02 6月, 2011 1 次提交
    • L
      rtlwifi: Fix warnings from gcc 4.6.0 · 19086fce
      Larry Finger 提交于
      gcc 4.6.0 warnings for rtlwifi:
      
        CC [M]  drivers/net/wireless/rtlwifi/base.o
      drivers/net/wireless/rtlwifi/base.c: In function ‘rtl_tx_agg_stop’:
      drivers/net/wireless/rtlwifi/base.c:891:23: warning: variable ‘tid_data’ set but not used [-Wunused-but-set-variable]
      drivers/net/wireless/rtlwifi/base.c: In function ‘rtl_tx_agg_oper’:
      drivers/net/wireless/rtlwifi/base.c:921:23: warning: variable ‘tid_data’ set but not used [-Wunused-but-set-variable]
        CC [M]  drivers/net/wireless/rtlwifi/efuse.o
      drivers/net/wireless/rtlwifi/efuse.c: In function ‘efuse_pg_packet_write’:
      drivers/net/wireless/rtlwifi/efuse.c:928:24: warning: variable ‘dataempty’ set but not used [-Wunused-but-set-variable]
      drivers/net/wireless/rtlwifi/efuse.c: In function ‘efuse_get_current_size’:
      drivers/net/wireless/rtlwifi/efuse.c:1179:5: warning: variable ‘hoffset’ set but not used [-Wunused-but-set-variable]
        CC [M]  drivers/net/wireless/rtlwifi/ps.o
      drivers/net/wireless/rtlwifi/ps.c: In function ‘rtl_ps_set_rf_state’:
      drivers/net/wireless/rtlwifi/ps.c:85:19: warning: variable ‘rtstate’ set but not used [-Wunused-but-set-variable]
        CC [M]  drivers/net/wireless/rtlwifi/regd.o
      drivers/net/wireless/rtlwifi/regd.c: In function ‘_rtl_dump_channel_map’:
      drivers/net/wireless/rtlwifi/regd.c:310:28: warning: variable ‘ch’ set but not used [-Wunused-but-set-variable]
        CC [M]  drivers/net/wireless/rtlwifi/usb.o
      drivers/net/wireless/rtlwifi/usb.c: In function ‘_rtl_usb_transmit’:
      drivers/net/wireless/rtlwifi/usb.c:826:21: warning: variable ‘urb_list’ set but not used [-Wunused-but-set-variable]
      drivers/net/wireless/rtlwifi/usb.c:825:23: warning: variable ‘skb_list’ set but not used [-Wunused-but-set-variable]
      Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      19086fce
  2. 27 5月, 2011 2 次提交
  3. 17 5月, 2011 1 次提交
  4. 11 5月, 2011 3 次提交
  5. 06 5月, 2011 12 次提交
  6. 03 5月, 2011 1 次提交
  7. 27 4月, 2011 19 次提交
  8. 15 4月, 2011 1 次提交
    • L
      rtlwifi: Fix unitialized variable warnings · 9f219bd2
      Larry Finger 提交于
      In http://lkml.indiana.edu/hypermail/linux/kernel/1104.1/01955.html, Geerti
      Uytterhoeven reports the following warnings for the rtlwifi drivers.
      
      src/drivers/net/wireless/rtlwifi/rtl8192c/dm_common.c: warning:
      	 'cck_index' may be used uninitialized in this function: => 637
      src/drivers/net/wireless/rtlwifi/rtl8192c/dm_common.c: warning:
      	 'cck_index_old' may be used uninitialized in this function: => 637
      src/drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c: warning:
      	 'box_extreg' may be used uninitialized in this function: => 303
      src/drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c: warning:
      	 'box_reg' may be used uninitialized in this function: => 303
      src/drivers/net/wireless/rtlwifi/rtl8192ce/rf.c: warning:
      	 'chnlgroup' may be used uninitialized in this function: => 205
      src/drivers/net/wireless/rtlwifi/rtl8192ce/rf.c: warning:
      	 'u4_regvalue' may be used uninitialized in this function: => 450
      src/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c: warning:
      	 'hq_sele' may be used uninitialized in this function: => 924
      Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      9f219bd2