From: Chen Zhou <chenzhou10@huawei.com>
To: <johannes@sipsolutions.net>, <davem@davemloft.net>
Cc: <linux-wireless@vger.kernel.org>, <netdev@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <chenzhou10@huawei.com>
Subject: [PATCH -next] mac80111: fix build error without CONFIG_ATH11K_DEBUGFS
Date: Thu, 16 Jan 2020 20:51:55 +0800 [thread overview]
Message-ID: <20200116125155.166749-1-chenzhou10@huawei.com> (raw)
If CONFIG_ATH11K_DEBUGFS is n, build fails:
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;
^~
and many more similar messages.
Select ATH11K_DEBUGFS under config MAC80211_DEBUGFS to fix this.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
---
net/mac80211/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/mac80211/Kconfig b/net/mac80211/Kconfig
index 0c93b1b..0f2c2b8 100644
--- a/net/mac80211/Kconfig
+++ b/net/mac80211/Kconfig
@@ -77,6 +77,7 @@ config MAC80211_LEDS
config MAC80211_DEBUGFS
bool "Export mac80211 internals in DebugFS"
+ select ATH11K_DEBUGFS
depends on MAC80211 && DEBUG_FS
---help---
Select this to see extensive information about
--
2.7.4
next reply other threads:[~2020-01-16 12:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-16 12:51 Chen Zhou [this message]
2020-01-16 12:59 ` [PATCH -next] mac80111: fix build error without CONFIG_ATH11K_DEBUGFS Johannes Berg
2020-01-16 13:35 ` Chen Zhou
2020-01-16 13:45 ` Kalle Valo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200116125155.166749-1-chenzhou10@huawei.com \
--to=chenzhou10@huawei.com \
--cc=davem@davemloft.net \
--cc=johannes@sipsolutions.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).