]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: ath12k: Fix ath12k_dp_htt_tlv_iter()'s iter() signature
authorJeff Johnson <jeff.johnson@oss.qualcomm.com>
Thu, 9 Apr 2026 18:44:24 +0000 (11:44 -0700)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Mon, 20 Apr 2026 15:25:31 +0000 (08:25 -0700)
Per ath12k convention, a pointer to struct ath12k_base should be named
'ab'. However, the current signature of the 'iter' parameter of
ath12k_dp_htt_tlv_iter() uses 'ar'. Change it to use 'ab'.

No functional changes, compile tested only.

Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Link: https://patch.msgid.link/20260409-ath12k-htc-proto-v1-2-cda86d6355f1@oss.qualcomm.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/dp_htt.c
drivers/net/wireless/ath/ath12k/dp_htt.h

index 9c19d9707abfb564567eee2d486a390fc8b03483..52e10059c6d5a84254990a7af74440541a88d4bb 100644 (file)
@@ -146,7 +146,7 @@ static int ath12k_htt_tlv_ppdu_stats_parse(struct ath12k_base *ab,
 }
 
 int ath12k_dp_htt_tlv_iter(struct ath12k_base *ab, const void *ptr, size_t len,
-                          int (*iter)(struct ath12k_base *ar, u16 tag, u16 len,
+                          int (*iter)(struct ath12k_base *ab, u16 tag, u16 len,
                                       const void *ptr, void *data),
                           void *data)
 {
index 6020e632f74ecf4098f3d1b4c92c15c1b0176786..987689f11cda4537dd0e6fc368dc3d0716752b2f 100644 (file)
@@ -1523,7 +1523,7 @@ int ath12k_dp_tx_htt_srng_setup(struct ath12k_base *ab, u32 ring_id,
 void ath12k_dp_htt_htc_t2h_msg_handler(struct ath12k_base *ab,
                                       struct sk_buff *skb);
 int ath12k_dp_htt_tlv_iter(struct ath12k_base *ab, const void *ptr, size_t len,
-                          int (*iter)(struct ath12k_base *ar, u16 tag, u16 len,
+                          int (*iter)(struct ath12k_base *ab, u16 tag, u16 len,
                                       const void *ptr, void *data),
                                       void *data);
 int ath12k_dp_tx_htt_h2t_ver_req_msg(struct ath12k_base *ab);