From patchwork Tue Sep 24 12:08:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13810857 X-Patchwork-Delegate: johannes@sipsolutions.net Received: from weierstrass.telenet-ops.be (weierstrass.telenet-ops.be [195.130.137.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 032653F9D5 for ; Tue, 24 Sep 2024 12:09:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.137.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727179749; cv=none; b=X3hOHZKvpUtU7/gG+raKZLI8lIr75Wt+7wU9I0KAlVIHVAoMut2QszKFCpVhaLjvQfhfVxgmEJdjmLhzVBOUW92Io84cZ8g7TiLvy0xrdfSPNydfyWRG5q8zj2zhxEIm8atN8Nvsm69qrCf8RAxiEkHNfD1cpl/21wAd8NHVCeQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727179749; c=relaxed/simple; bh=h5hQGijtJzvFXOIKhnJnm3fDiWSQRooU2XHqBtI6KPI=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=nS7bbEfp5JNKWMm4plS6+PMnY0nb726hpuBJsHiyt5tjKygeWzZRJt5sVUGe51ZU/FRMHwwKBKtiToxvje/Pq0O4SYBiowCqTpbLqT+yYP/rYjsELoBMRrCzRuNSJHw/soaZ2ZRu+lGzsu7EtWA18JT5mnQkjgPg4muDS9B1Cbk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.137.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by weierstrass.telenet-ops.be (Postfix) with ESMTPS id 4XCdv62dD2z4x3RD for ; Tue, 24 Sep 2024 14:09:06 +0200 (CEST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:beb3:bbd4:b9cd:84ae]) by albert.telenet-ops.be with cmsmtp id GC8z2D0033rtkie06C8ztF; Tue, 24 Sep 2024 14:08:59 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1st4Lf-000SuE-1a; Tue, 24 Sep 2024 14:08:59 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1st4Li-005j17-Ul; Tue, 24 Sep 2024 14:08:58 +0200 From: Geert Uytterhoeven To: Johannes Berg , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH net] mac80211: MAC80211_MESSAGE_TRACING should depend on TRACING Date: Tue, 24 Sep 2024 14:08:57 +0200 Message-Id: <85bbe38ce0df13350f45714e2dc288cc70947a19.1727179690.git.geert@linux-m68k.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 --- 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