mbox series

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

Message ID 20241119-ath11k-noinline-v1-0-4ec0a8aa30b2@quicinc.com (mailing list archive)
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