1. 08 10月, 2014 5 次提交
  2. 07 10月, 2014 4 次提交
  3. 01 10月, 2014 3 次提交
  4. 29 9月, 2014 5 次提交
  5. 26 9月, 2014 6 次提交
  6. 23 9月, 2014 10 次提交
  7. 18 9月, 2014 7 次提交
    • K
      ath10k: use ether_addr_copy() · b25f32cb
      Kalle Valo 提交于
      As suggeested by checkpatch:
      
      WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2)
      
      In wmi.c I had to change due to sparse warnings copying of struct wmi_mac_addr
      from form &cmd->peer_macaddr.addr to cmd->peer_macaddr.addr. In
      ath10k_wmi_set_ap_ps_param() I also added the missing ".addr" to the copy
      command.
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      b25f32cb
    • K
      ath10k: reformat help text in ath10k_read_simulate_fw_crash() · 75cb96d3
      Kalle Valo 提交于
      Makes it more readable and fixes checkpatch warnings:
      
      drivers/net/wireless/ath/ath10k/debug.c:593: WARNING: quoted string split across lines
      drivers/net/wireless/ath/ath10k/debug.c:594: WARNING: quoted string split across lines
      drivers/net/wireless/ath/ath10k/debug.c:595: WARNING: quoted string split across lines
      drivers/net/wireless/ath/ath10k/debug.c:596: WARNING: quoted string split across lines
      drivers/net/wireless/ath/ath10k/debug.c:597: WARNING: quoted string split across lines
      drivers/net/wireless/ath/ath10k/debug.c:599: WARNING: quoted string split across lines
      drivers/net/wireless/ath/ath10k/debug.c:600: WARNING: quoted string split across lines
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      75cb96d3
    • K
      ath10k: miscellaneous checkpatch fixes · 8cc7f26c
      Kalle Valo 提交于
      Fixes checkpatch warnings:
      
      ath10k/htc.c:49: WARNING: Possible unnecessary 'out of memory' message
      ath10k/htc.c:810: WARNING: Possible unnecessary 'out of memory' message
      ath10k/htt.h:1034: CHECK: Please use a blank line after function/struct/union/enum declarations
      ath10k/htt_rx.c:135: CHECK: Unnecessary parentheses around htt->rx_ring.alloc_idx.vaddr
      ath10k/htt_rx.c:173: CHECK: Unnecessary parentheses around htt->rx_ring.alloc_idx.vaddr
      ath10k/pci.c:633: WARNING: macros should not use a trailing semicolon
      ath10k/wmi.c:3594: WARNING: quoted string split across lines
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      8cc7f26c
    • K
      ath10k: else is not generally useful after a break or return · d8bb26b9
      Kalle Valo 提交于
      Fixes checkpatch warnings:
      
      WARNING: else is not generally useful after a break or return
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      d8bb26b9
    • K
      ath10k: don't use return on void functions · ac04506c
      Kalle Valo 提交于
      Fixes a checkpatch warning:
      
      WARNING: void function return statements are not generally useful
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      ac04506c
    • K
      ath10k: fix space after a cast style errors · cfbc06a9
      Kalle Valo 提交于
      Fixes checkpatch warnings:
      
      CHECK: No space is necessary after a cast
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      cfbc06a9
    • K
      ath10k: fix missing a blank line after declarations · af762c0b
      Kalle Valo 提交于
      Fixes checkpatch warnings:
      
      WARNING: Missing a blank line after declarations
      
      Please note that some of the cases I fixed by moving the variable declarations
      to the beginning of the function, which is the preferred style in ath10k.
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      af762c0b