From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail26.static.mailgun.info ([104.130.122.26]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ivfIX-0007Ox-CK for ath11k@lists.infradead.org; Sun, 26 Jan 2020 10:37:46 +0000 MIME-Version: 1.0 Subject: Re: [PATCH] ath11k: fix debugfs build failure From: Kalle Valo In-Reply-To: <20200107215036.1333983-1-arnd@arndb.de> References: <20200107215036.1333983-1-arnd@arndb.de> Message-Id: <20200126103743.80EE7C433CB@smtp.codeaurora.org> Date: Sun, 26 Jan 2020 10:37:43 +0000 (UTC) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath11k" Errors-To: ath11k-bounces+kvalo=adurom.com@lists.infradead.org To: Arnd Bergmann Cc: Maharaja Kennadyrajan , Sriram R , Venkateswara Naralasetty , Muna Sinada , Shashidhar Lakkavalli , Tamizh chelvam , kbuild test robot , Rajkumar Manoharan , Sven Eckelmann , Ganesh Sesetti , Sathishkumar Muruganandam , Vasanthakumar Thiagarajan , Miles Hu , Julia Lawall , John Crispin , Govindaraj Saminathan , Bhagavathi Perumal S , Pradeep Kumar Chitrapu , netdev@vger.kernel.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, ath11k@lists.infradead.org, Manikanta Pubbisetty , Karthikeyan Periyasamy , "David S. Miller" Arnd Bergmann wrote: > When CONFIG_ATH11K_DEBUGFS is disabled, but CONFIG_MAC80211_DEBUGFS > is turned on, the driver fails to build: > > 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:416:4: error: 'struct ath11k' has no member named 'debug' > ar->debug.htt_stats.stats_req = stats_req; > ^~ > > It appears that just using the former symbol is sufficient here, > adding a Kconfig dependency takes care of the corner cases. > > Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices") > Signed-off-by: Arnd Bergmann > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. a45ceea5015d ath11k: fix debugfs build failure -- https://patchwork.kernel.org/patch/11321921/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath11k mailing list ath11k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath11k