[PATCH] ath11k: Fix scan request param frame size warning

Kalle Valo kvalo at kernel.org
Wed Dec 7 09:30:34 PST 2022


Karthikeyan Kathirvel <quic_kathirve at quicinc.com> wrote:

> Following warning was observed
> 
> drivers/net/wireless/ath/ath11k/mac.c:2351:1: warning: the frame
> size of 1184 bytes is larger than 1024 bytes [-Wframe-larger-than=]
> 
> A local variable is declared with a size larger than 1024 bytes
> this causing a compilation warning. Change the local variable to
> heap memory to fix the warning.
> 
> Tested-on: IPQ8074 AHB WLAN.HK.2.7.0.1-01701-QCAHKSWPL_SILICONZ-1 v2
> 
> Signed-off-by: Karthikeyan Kathirvel <quic_kathirve at quicinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo at quicinc.com>

"wifi:" prefix missing, I added that in the pending branch.

Also fixed one warning:

drivers/net/wireless/ath/ath11k/mac.c:3677: Alignment should match open parenthesis

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

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




More information about the ath11k mailing list