[PATCH net-next 1/2] wifi: ath11k: fix Wvoid-pointer-to-enum-cast warning

Kalle Valo kvalo at kernel.org
Tue Aug 22 05:58:47 PDT 2023


Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org> writes:

> 'hw_rev' is an enum, thus cast of pointer on 64-bit compile test with W=1
> causes:
>
>   h11k/ahb.c:1124:11: error: cast to smaller integer type 'enum ath11k_hw_rev' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>

ath11k patches go to my ath.git tree, not net-next. But no need to
resend because of this.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

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



More information about the ath10k mailing list