[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <169279948369.1241462.6552260393066152478.kvalo@kernel.org>
Date: Wed, 23 Aug 2023 14:04:45 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: Jeff Johnson <quic_jjohnson@...cinc.com>
Cc: <ath11k@...ts.infradead.org>, <linux-wireless@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
Jeff Johnson <quic_jjohnson@...cinc.com>
Subject: Re: [PATCH] wifi: ath11k: Consistently use ath11k_vif_to_arvif()
Jeff Johnson <quic_jjohnson@...cinc.com> wrote:
> Helper function ath11k_vif_to_arvif() exists to retrieve a struct
> ath11k_vif from a struct ieee80211_vif. However, in multiple places
> this logic is open-coded with inline typecasting. Since the
> typecasting prevents the compiler from type-checking the source and
> destination, update the driver to consistently use the helper
> function.
>
> No functional changes, compile tested only.
>
> Signed-off-by: Jeff Johnson <quic_jjohnson@...cinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo@...cinc.com>
Patch applied to ath-next branch of ath.git, thanks.
9476cda44c13 wifi: ath11k: Consistently use ath11k_vif_to_arvif()
--
https://patchwork.kernel.org/project/linux-wireless/patch/20230821-ath11k_vif_to_arvif-v1-1-fa2c3b60b5cf@quicinc.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists