[PATCH] ath11k: Fix build warning without CONFIG_IPV6

Kalle Valo kvalo at kernel.org
Sat Apr 23 02:29:59 PDT 2022


YueHaibing <yuehaibing at huawei.com> wrote:

> drivers/net/wireless/ath/ath11k/mac.c:8175:13: error: ‘ath11k_mac_op_ipv6_changed’ defined but not used [-Werror=unused-function]
>  static void ath11k_mac_op_ipv6_changed(struct ieee80211_hw *hw,
>              ^~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> Wrap it with #ifdef block to fix this.
> 
> Fixes: c3c36bfe998b ("ath11k: support ARP and NS offload")
> Signed-off-by: YueHaibing <yuehaibing at huawei.com>
> Signed-off-by: Kalle Valo <quic_kvalo at quicinc.com>

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

67888630adde ath11k: Fix build warning without CONFIG_IPV6

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20220411020843.10284-1-yuehaibing@huawei.com/

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




More information about the ath11k mailing list