[lvc-project] [PATCH] wifi: ath11k: drop NULL pointer check in ath11k_update_per_peer_tx_stats()
Kalle Valo
kvalo at kernel.org
Thu Sep 21 11:13:25 MSK 2023
Dmitry Antipov <dmantipov at yandex.ru> wrote:
> Since 'user_stats' is a fixed-size array of 'struct htt_ppdu_user_stats'
> in 'struct htt_ppdu_stats', any of its member can't be NULL and so
> relevant check may be dropped.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Signed-off-by: Dmitry Antipov <dmantipov at yandex.ru>
> Acked-by: Jeff Johnson <quic_jjohnson at quicinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo at quicinc.com>
Patch applied to ath-next branch of ath.git, thanks.
ac13a7842ab4 wifi: ath11k: drop NULL pointer check in ath11k_update_per_peer_tx_stats()
--
https://patchwork.kernel.org/project/linux-wireless/patch/20230906093704.14001-1-dmantipov@yandex.ru/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the lvc-project
mailing list