lkml.org 
[lkml]   [2023]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] wifi: ath12k: Consistently use ath12k_vif_to_arvif()
From
Date
Jeff Johnson <quic_jjohnson@quicinc.com> wrote:

> Helper function ath12k_vif_to_arvif() exists to retrieve a struct
> ath12k_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@quicinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>

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

13556aef0bdc wifi: ath12k: Consistently use ath12k_vif_to_arvif()

--
https://patchwork.kernel.org/project/linux-wireless/patch/20231004-ath12k_vif_to_arvif-v1-1-3f38f6882d33@quicinc.com/

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

\
 
 \ /
  Last update: 2023-10-10 09:27    [W:0.049 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site