[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87iqyk7jcf.fsf@saeurebad.de>
Date: Mon, 14 Apr 2008 13:43:12 +0200
From: Johannes Weiner <hannes@...urebad.de>
To: Ingo Molnar <mingo@...e.hu>
Cc: Nick Andrew <nick@...k-andrew.net>,
Thomas Gleixner <tglx@...utronix.de>,
Linus Torvalds <torvalds@...ux-foundation.org>,
linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>, joe@...ches.com
Subject: Re: [PATCH 2/2] printk: Remember the message level for multi-line output
Hi Ingo,
Ingo Molnar <mingo@...e.hu> writes:
> btw., we could also start emitting debug warnings that the printk is not
> conform. Something like:
>
> "INFO: the previous printk was done without a KERN_ annotation"
Urgh, that would become very noisy. If, at all, I'd suggest a config
option like CONFIG_DEBUG_PRINTK_USAGE and then add a prefix string to
each printk()ed line missing a severity level.
printk("foo\n");
=> "[FIX PRINTK] foo"
Hannes
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists