]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ath10k: use names in function definition arguments
authorKalle Valo <kvalo@qca.qualcomm.com>
Thu, 2 Feb 2017 10:47:56 +0000 (12:47 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 7 Feb 2017 08:43:25 +0000 (10:43 +0200)
Fixes new checkpatch warnings:

drivers/net/wireless/ath/ath10k/htt.h:1823: function definition argument 'struct sk_buff *' should also have an identifier name
drivers/net/wireless/ath/ath10k/wmi.h:6607: function definition argument 'struct wmi_start_scan_arg *' should also have an identifier name

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt.h
drivers/net/wireless/ath/ath10k/wmi.h

index dfe9627df7d07a750330a5e1f458813e30d123c4..90c2f72666b831b5fb88bee6440b517a50e3bb45 100644 (file)
@@ -1820,7 +1820,7 @@ int ath10k_htt_tx_mgmt_inc_pending(struct ath10k_htt *htt, bool is_mgmt,
 
 int ath10k_htt_tx_alloc_msdu_id(struct ath10k_htt *htt, struct sk_buff *skb);
 void ath10k_htt_tx_free_msdu_id(struct ath10k_htt *htt, u16 msdu_id);
-int ath10k_htt_mgmt_tx(struct ath10k_htt *htt, struct sk_buff *);
+int ath10k_htt_mgmt_tx(struct ath10k_htt *htt, struct sk_buff *msdu);
 int ath10k_htt_tx(struct ath10k_htt *htt,
                  enum ath10k_hw_txrx_mode txmode,
                  struct sk_buff *msdu);
index 861c2d8c6e8c85deeab23eb747af7389a383c7e8..1333cbe48693e85323c35cc54780f2aa531f749e 100644 (file)
@@ -6604,7 +6604,7 @@ struct sk_buff *ath10k_wmi_alloc_skb(struct ath10k *ar, u32 len);
 int ath10k_wmi_cmd_send(struct ath10k *ar, struct sk_buff *skb, u32 cmd_id);
 int ath10k_wmi_cmd_send_nowait(struct ath10k *ar, struct sk_buff *skb,
                               u32 cmd_id);
-void ath10k_wmi_start_scan_init(struct ath10k *ar, struct wmi_start_scan_arg *);
+void ath10k_wmi_start_scan_init(struct ath10k *ar, struct wmi_start_scan_arg *arg);
 
 void ath10k_wmi_pull_pdev_stats_base(const struct wmi_pdev_stats_base *src,
                                     struct ath10k_fw_stats_pdev *dst);