* [PATCH net] mac80211: MAC80211_MESSAGE_TRACING should depend on TRACING
@ 2024-09-24 12:08 Geert Uytterhoeven
2024-09-25 7:08 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2024-09-24 12:08 UTC (permalink / raw)
To: Johannes Berg, David S . Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni
Cc: linux-wireless, netdev, linux-trace-kernel, linux-kernel,
Geert Uytterhoeven
When tracing is disabled, there is no point in asking the user about
enabling tracing of all mac80211 debug messages.
Fixes: 3fae0273168026ed ("mac80211: trace debug messages")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
net/mac80211/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/mac80211/Kconfig b/net/mac80211/Kconfig
index 13438cc0a6b139b6..cf0f7780fb109e1c 100644
--- a/net/mac80211/Kconfig
+++ b/net/mac80211/Kconfig
@@ -96,7 +96,7 @@ config MAC80211_DEBUGFS
config MAC80211_MESSAGE_TRACING
bool "Trace all mac80211 debug messages"
- depends on MAC80211
+ depends on MAC80211 && TRACING
help
Select this option to have mac80211 register the
mac80211_msg trace subsystem with tracepoints to
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH net] mac80211: MAC80211_MESSAGE_TRACING should depend on TRACING
2024-09-24 12:08 [PATCH net] mac80211: MAC80211_MESSAGE_TRACING should depend on TRACING Geert Uytterhoeven
@ 2024-09-25 7:08 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2024-09-25 7:08 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Johannes Berg, David S . Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, linux-wireless, netdev, linux-trace-kernel,
linux-kernel
Geert Uytterhoeven <geert@linux-m68k.org> writes:
> When tracing is disabled, there is no point in asking the user about
> enabling tracing of all mac80211 debug messages.
>
> Fixes: 3fae0273168026ed ("mac80211: trace debug messages")
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
mac80211 patches go to wireless tree, not net. Also 'wifi:' missing from
subject but I suspect Johannes can fix that during commit, so no need to
resend (I hope).
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-25 7:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-24 12:08 [PATCH net] mac80211: MAC80211_MESSAGE_TRACING should depend on TRACING Geert Uytterhoeven
2024-09-25 7:08 ` Kalle Valo
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).