1. 08 Oct, 2014 5 commits
  2. 07 Oct, 2014 4 commits
  3. 01 Oct, 2014 3 commits
  4. 29 Sep, 2014 5 commits
  5. 26 Sep, 2014 6 commits
  6. 23 Sep, 2014 10 commits
  7. 18 Sep, 2014 7 commits
    • Kalle Valo's avatar
      ath10k: use ether_addr_copy() · b25f32cb
      Kalle Valo authored
      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: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      b25f32cb
    • Kalle Valo's avatar
      ath10k: reformat help text in ath10k_read_simulate_fw_crash() · 75cb96d3
      Kalle Valo authored
      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: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      75cb96d3
    • Kalle Valo's avatar
      ath10k: miscellaneous checkpatch fixes · 8cc7f26c
      Kalle Valo authored
      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: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      8cc7f26c
    • Kalle Valo's avatar
      ath10k: else is not generally useful after a break or return · d8bb26b9
      Kalle Valo authored
      Fixes checkpatch warnings:
      
      WARNING: else is not generally useful after a break or return
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      d8bb26b9
    • Kalle Valo's avatar
      ath10k: don't use return on void functions · ac04506c
      Kalle Valo authored
      Fixes a checkpatch warning:
      
      WARNING: void function return statements are not generally useful
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      ac04506c
    • Kalle Valo's avatar
      ath10k: fix space after a cast style errors · cfbc06a9
      Kalle Valo authored
      Fixes checkpatch warnings:
      
      CHECK: No space is necessary after a cast
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      cfbc06a9
    • Kalle Valo's avatar
      ath10k: fix missing a blank line after declarations · af762c0b
      Kalle Valo authored
      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: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      af762c0b