Re: [PATCH -next] ath11k: add dependency for struct ath11k member debug
From: Kalle Valo
Date: Wed Jan 15 2020 - 04:18:30 EST
Mao Wenan <maowenan@xxxxxxxxxx> wrote:
> If CONFIG_ATH11K, CONFIG_MAC80211_DEBUGFS are set,
> and CONFIG_ATH11K_DEBUGFS is not set, below error can be found,
> drivers/net/wireless/ath/ath11k/debugfs_sta.c: In function ath11k_dbg_sta_open_htt_peer_stats:
> drivers/net/wireless/ath/ath11k/debugfs_sta.c:411:4: error: struct ath11k has no member named debug
> ar->debug.htt_stats.stats_req = stats_req;
>
> It is to add the dependency for the member of struct ath11k.
>
> Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices")
> Signed-off-by: Mao Wenan <maowenan@xxxxxxxxxx>
Arnd already did something what I proposed:
https://patchwork.kernel.org/patch/11321921/
Patch set to Superseded.
--
https://patchwork.kernel.org/patch/11289709/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches