]> Gentwo Git Trees - linux/.git/commit
wifi: ath12k: fix the stack frame size warning in ath12k_mac_op_hw_scan
authorMiaoqing Pan <quic_miaoqing@quicinc.com>
Thu, 15 Aug 2024 16:03:22 +0000 (19:03 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Thu, 15 Aug 2024 16:05:47 +0000 (19:05 +0300)
commit6274df2530e35193ebac311d492d276a73162b57
tree54629629c4b64984348d604801a0444afe8d13c8
parentae98f5c9fd8ba84cd408b41faa77e65bf1b4cdfa
wifi: ath12k: fix the stack frame size warning in ath12k_mac_op_hw_scan

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@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://patch.msgid.link/20240809015841.2671448-1-quic_miaoqing@quicinc.com
drivers/net/wireless/ath/ath12k/mac.c