1. 27 9月, 2013 12 次提交
  2. 04 9月, 2013 1 次提交
    • J
      drivers/net: Convert uses of compare_ether_addr to ether_addr_equal · 7367d0b5
      Joe Perches 提交于
      Use the new bool function ether_addr_equal to add
      some clarity and reduce the likelihood for misuse
      of compare_ether_addr for sorting.
      
      Done via cocci script: (and a little typing)
      
      $ cat compare_ether_addr.cocci
      @@
      expression a,b;
      @@
      -	!compare_ether_addr(a, b)
      +	ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	compare_ether_addr(a, b)
      +	!ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	!ether_addr_equal(a, b) == 0
      +	ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	!ether_addr_equal(a, b) != 0
      +	!ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	ether_addr_equal(a, b) == 0
      +	!ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	ether_addr_equal(a, b) != 0
      +	ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	!!ether_addr_equal(a, b)
      +	ether_addr_equal(a, b)
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7367d0b5
  3. 03 9月, 2013 9 次提交
  4. 01 9月, 2013 7 次提交
  5. 29 8月, 2013 2 次提交
  6. 28 8月, 2013 2 次提交
    • J
      ath9k: ar9003_eeprom.c:3618 fix variable name typo · 53b2f828
      John W. Linville 提交于
         drivers/net/wireless/ath/ath9k/ar9003_eeprom.c: In function 'ar9003_hw_ant_ctrl_apply':
      >> drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3618: warning: 'regval' is used uninitialized in this function
      
      It seems obvious that 'regval' should have been 'value'...
      Reported-by: NFengguang Wu <fengguang.wu@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      53b2f828
    • M
      ath10k: Fix mutex unlock balance · e2951f7f
      Mohammed Shafi Shajakhan 提交于
      ath10k_debug_read_target_stats is properly
      protected by data_lock (spinlock). Remove
      the unwanted mutex_unlock(&ar->conf_mutex)
      
      [ BUG: bad unlock balance detected! ]
      -------------------------------------
      kworker/u4:0/12459 is trying to release lock
      (&ar->conf_mutex) at:
      [<c16a170d>] mutex_unlock+0xd/0x10
      but there are no more locks to release!
      
       Call Trace:
        [<c16a170d>] ? mutex_unlock+0xd/0x10
        [<c10b697d>] __lock_release+0x4d/0xe0
        [<f88ca0fc>] ? ath10k_debug_read_target_stats+0xac/0x290
      
        [<c16a170d>] ? mutex_unlock+0xd/0x10
        [<c10b6a5b>] lock_release+0x4b/0x150
        [<c16a1580>] __mutex_unlock_slowpath+0x70/0x150
        [<f88ca0fc>] ? ath10k_debug_read_target_stats+0xac/0x290
      
        [<c10b456b>] ? trace_hardirqs_on+0xb/0x10
        [<c16a170d>] mutex_unlock+0xd/0x10
        [<f88ca107>] ath10k_debug_read_target_stats+0xb7/0x290
      
        [<f88d337a>] ath10k_wmi_event_process+0x3fa/0x6e0
      
        [<c10b456b>] ? trace_hardirqs_on+0xb/0x10
        [<f88d36e1>] ath10k_wmi_event_work+0x21/0x40
                     [ath10k_core]
      Signed-off-by: NMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      e2951f7f
  7. 27 8月, 2013 5 次提交
  8. 23 8月, 2013 2 次提交