Messages in this thread | | | From | Johannes Weiner <> | Subject | Re: [PATCH 2/2] printk: Remember the message level for multi-line output | Date | Mon, 14 Apr 2008 13:43:12 +0200 |
| |
Hi Ingo,
Ingo Molnar <mingo@elte.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
| |