Patch "wifi: ath11k: synchronize ath11k_mac_he_gi_to_nl80211_he_gi()'s return type" has been added to the 6.1-stable tree
[email protected]
AppliedThis is a note to let you know that I've just added the patch titled
wifi: ath11k: synchronize ath11k_mac_he_gi_to_nl80211_he_gi()'s return type
to the 6.1-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
wifi-ath11k-synchronize-ath11k_mac_he_gi_to_nl80211_he_gi-s-return-type.patch
and it can be found in the queue-6.1 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
From dd1c2322694522f674c874f5fa02ac5ae39135dd Mon Sep 17 00:00:00 2001
From: "Jiri Slaby (SUSE)" <[email protected]>
Date: Mon, 31 Oct 2022 12:43:41 +0100
Subject: wifi: ath11k: synchronize ath11k_mac_he_gi_to_nl80211_he_gi()'s return type
From: Jiri Slaby (SUSE) <[email protected]>
commit dd1c2322694522f674c874f5fa02ac5ae39135dd upstream.
ath11k_mac_he_gi_to_nl80211_he_gi() generates a valid warning with gcc-13:
drivers/net/wireless/ath/ath11k/mac.c:321:20: error: conflicting types for 'ath11k_mac_he_gi_to_nl80211_he_gi' due to enum/integer mismatch; have 'enum nl80211_he_gi(u8)' drivers/net/wireless/ath/ath11k/mac.h:166:5: note: previous declaration of 'ath11k_mac_he_gi_to_nl80211_he_gi' with type 'u32(u8)'
I.e. the type of the return value ath11k_mac_he_gi_to_nl80211_he_gi() in the declaration is u32, while the definition spells enum nl80211_he_gi. Synchronize them to the latter.
--- drivers/net/wireless/ath/ath11k/mac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath11k/mac.h +1 -1
@@ -163,7 +163,7 @@ void ath11k_mac_drain_tx(struct ath11k *void ath11k_mac_peer_cleanup_all (struct ath11k *ar);int ath11k_mac_tx_mgmt_pending_free (int buf_id,void *skb,void *ctx);u8 ath11k_mac_bw_to_mac80211_bw (u8 bw); -u32 ath11k_mac_he_gi_to_nl80211_he_gi (u8 sgi); +enum nl80211_he_gi ath11k_mac_he_gi_to_nl80211_he_gi (u8 sgi);enum nl80211_he_ru_alloc ath11k_mac_phy_he_ru_to_nl80211_he_ru_alloc (u16 ru_phy);enum nl80211_he_ru_alloc ath11k_mac_he_ru_tones_to_nl80211_he_ru_alloc (u16 ru_tones);enum ath11k_supported_bw ath11k_mac_mac80211_bw_to_ath11k_bw (enum rate_info_bw bw);
Patches currently in stable-queue which might be from [email protected] are
queue-6.1/linux-vt_buffer.h-allow-either-builtin-or-modular-fo.patch queue-6.1/net-wwan-t7xx-do-not-compile-with-werror.patch queue-6.1/bonding-gcc13-synchronize-bond_-a-t-lb_xmit-types.patch queue-6.1/wifi-ath11k-synchronize-ath11k_mac_he_gi_to_nl80211_he_gi-s-return-type.patch queue-6.1/thunderbolt-use-correct-type-in-tb_port_is_clx_enabled-prototype.patch queue-6.1/wireguard-timers-cast-enum-limits-members-to-int-in-prints.patch
Signature · 3 lines
ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k