llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] wifi: ath11k: Fix clang+KASAN stack frame size warnings
@ 2024-11-19 15:47 Jeff Johnson
  2024-11-19 15:47 ` [PATCH 1/3] wifi: ath11k: mark some QMI driver event helpers as noinline Jeff Johnson
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Jeff Johnson @ 2024-11-19 15:47 UTC (permalink / raw)
  To: Kalle Valo, Jeff Johnson, Nathan Chancellor, Nick Desaulniers,
	Bill Wendling, Justin Stitt, Arnd Bergmann
  Cc: linux-wireless, ath11k, linux-kernel, llvm, Jeff Johnson

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-11-21 16:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-19 15:47 [PATCH 0/3] wifi: ath11k: Fix clang+KASAN stack frame size warnings Jeff Johnson
2024-11-19 15:47 ` [PATCH 1/3] wifi: ath11k: mark some QMI driver event helpers as noinline Jeff Johnson
2024-11-21 11:20   ` Kalle Valo
2024-11-19 15:47 ` [PATCH 2/3] wifi: ath11k: mark ath11k_dp_rx_mon_mpdu_pop() " Jeff Johnson
2024-11-21 11:20   ` Kalle Valo
2024-11-19 15:47 ` [PATCH 3/3] wifi: ath11k: mark ath11k_wow_convert_8023_to_80211() " Jeff Johnson
2024-11-21 11:20   ` Kalle Valo
2024-11-21 16:12 ` [PATCH 0/3] wifi: ath11k: Fix clang+KASAN stack frame size warnings Jeff Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).