All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cornelia Huck <cornelia.huck@de.ibm.com>
To: Greg K-H <greg@kroah.com>
Cc: Jason Baron <jbaron@redhat.com>, <linux-kernel@vger.kernel.org>
Subject: [PATCH] DEBUG_KOBJECT vs. DYNAMIC_PRINTK_DEBUG
Date: Tue, 2 Dec 2008 14:52:51 +0100	[thread overview]
Message-ID: <20081202145251.6555d4cc@gondolin> (raw)

DEBUG_KOBJECT has no effect when DYNAMIC_PRINTK_DEBUG is set
(and you can get the messages via that feature), so let's make
it depend on !DYNAMIC_PRINTK_DEBUG.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
---
 lib/Kconfig.debug |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.orig/lib/Kconfig.debug
+++ linux-2.6/lib/Kconfig.debug
@@ -450,7 +450,7 @@ config STACKTRACE
 
 config DEBUG_KOBJECT
 	bool "kobject debugging"
-	depends on DEBUG_KERNEL
+	depends on DEBUG_KERNEL && !DYNAMIC_PRINTK_DEBUG
 	help
 	  If you say Y here, some extra kobject debugging messages will be sent
 	  to the syslog. 

             reply	other threads:[~2008-12-02 13:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-02 13:52 Cornelia Huck [this message]
2008-12-03 20:12 ` [PATCH] DEBUG_KOBJECT vs. DYNAMIC_PRINTK_DEBUG Jason Baron
2008-12-04 12:48   ` Cornelia Huck
2008-12-04 12:51     ` [PATCH] Make DEBUG take precedence over DYNAMIC_PRINTK_DEBUG Cornelia Huck
2008-12-04 14:42       ` Jason Baron
2008-12-04 15:55         ` [PATCH] Make DEBUG take precedence over DYNAMIC_PRINTK_DEBUG (v2) Cornelia Huck
2008-12-04 16:44           ` Jason Baron

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=20081202145251.6555d4cc@gondolin \
    --to=cornelia.huck@de.ibm.com \
    --cc=greg@kroah.com \
    --cc=jbaron@redhat.com \
    --cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.