[PATCH] wifi: ath12k: fix the stack frame size warning in ath12k_mac_op_hw_scan

Kalle Valo kvalo at kernel.org
Thu Aug 15 09:06:07 PDT 2024


Miaoqing Pan <quic_miaoqing at quicinc.com> wrote:

> Fix the following W=1 kernel build warning:
> 
> drivers/net/wireless/ath/ath12k/mac.c: In function ‘ath12k_mac_op_hw_scan’:
> drivers/net/wireless/ath/ath12k/mac.c:3806:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
> 
> Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
> 
> Signed-off-by: Miaoqing Pan <quic_miaoqing at quicinc.com>
> Acked-by: Jeff Johnson <quic_jjohnson at quicinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo at quicinc.com>

Patch applied to ath-next branch of ath.git, thanks.

6274df2530e3 wifi: ath12k: fix the stack frame size warning in ath12k_mac_op_hw_scan

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20240809015841.2671448-1-quic_miaoqing@quicinc.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




More information about the ath12k mailing list