Miaoqing Pan <quic_miaoqing@xxxxxxxxxxx> wrote: > Fix the following W=1 kernel build warning: > > drivers/net/wireless/ath/ath11k/wow.c: In function ‘ath11k_vif_wow_set_wakeups’: > drivers/net/wireless/ath/ath11k/wow.c:461:1: warning: the frame size of 1352 bytes is larger than 1024 bytes [-Wframe-larger-than=] > > Remove the nonessential variable 'struct cfg80211_pkt_pattern > old_pattern' by relocating bitmask to bytemask conversion into > ath11k_wow_convert_8023_to_80211(). > > Tested-on: WCN6855 hw2.1 PCI WLAN.HSP.1.1-04358-QCAHSPSWPL_V1_V2_SILICONZ_LITE-1 > > Signed-off-by: Miaoqing Pan <quic_miaoqing@xxxxxxxxxxx> > Acked-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx> > Signed-off-by: Kalle Valo <quic_kvalo@xxxxxxxxxxx> Patch applied to ath-next branch of ath.git, thanks. 6f15937833d8 wifi: ath11k: fix the stack frame size warning in ath11k_vif_wow_set_wakeups -- https://patchwork.kernel.org/project/linux-wireless/patch/20240829075253.657667-1-quic_miaoqing@xxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches https://docs.kernel.org/process/submitting-patches.html