mbox series

[0/3] wifi: ath11k: Fix clang+KASAN stack frame size warnings

Message ID 20241119-ath11k-noinline-v1-0-4ec0a8aa30b2@quicinc.com
Headers show
Series wifi: ath11k: Fix clang+KASAN stack frame size warnings | expand

Message

Jeff Johnson Nov. 19, 2024, 3:47 p.m. UTC
Fix the following stack size warnings observed when using clang with
KASAN enabled:

drivers/net/wireless/ath/ath11k/qmi.c:3199:13: warning: stack frame size (1560) exceeds limit (1024) in 'ath11k_qmi_driver_event_work' [-Wframe-larger-than]
drivers/net/wireless/ath/ath11k/dp_rx.c:5244:5: warning: stack frame size (1304) exceeds limit (1024) in 'ath11k_dp_rx_process_mon_status' [-Wframe-larger-than]
drivers/net/wireless/ath/ath11k/wow.c:672:5: warning: stack frame size (1336) exceeds limit (1024) in 'ath11k_wow_op_suspend' [-Wframe-larger-than]

---
Jeff Johnson (3):
      wifi: ath11k: mark some QMI driver event helpers as noinline
      wifi: ath11k: mark ath11k_dp_rx_mon_mpdu_pop() as noinline
      wifi: ath11k: mark ath11k_wow_convert_8023_to_80211() as noinline

 drivers/net/wireless/ath/ath11k/dp_rx.c | 11 ++++++-----
 drivers/net/wireless/ath/ath11k/qmi.c   |  8 ++++++--
 drivers/net/wireless/ath/ath11k/wow.c   |  6 ++++--
 3 files changed, 16 insertions(+), 9 deletions(-)
---
base-commit: 9ee80e341c4e473f6c13af3b529fed4ab073234c
change-id: 20241108-ath11k-noinline-74d8e50152c9

Comments

Jeff Johnson Nov. 21, 2024, 4:12 p.m. UTC | #1
On Tue, 19 Nov 2024 07:47:37 -0800, Jeff Johnson wrote:
> Fix the following stack size warnings observed when using clang with
> KASAN enabled:
> 
> 

Applied, thanks!

[1/3] wifi: ath11k: mark some QMI driver event helpers as noinline
      commit: 8ea1d2072ad1a9c24b326b50ebdc2c810c4b2cce
[2/3] wifi: ath11k: mark ath11k_dp_rx_mon_mpdu_pop() as noinline
      commit: 500d7ec88652ba7316e7fba334754e39e3177e4a
[3/3] wifi: ath11k: mark ath11k_wow_convert_8023_to_80211() as noinline
      commit: 4ba72ff2919cad90e1963b708ce23b92120613ff

Best regards,