Messages in this thread | | | Date | Fri, 25 Dec 2009 19:47:32 +0100 | From | Pavel Machek <> | Subject | Re: [tip:sched/urgent] sched: Restore printk sanity |
| |
On Fri 2009-12-25 17:00:19, Peter Zijlstra wrote: > On Fri, 2009-12-25 at 14:26 +0100, Pavel Machek wrote: > > > Or alternatively... deprecate pr_*? > > Seems like a fine idea, here's the patch.
Actually... I guess I'd slightly prefer the opposite patch. printk() has a place for quick hacks, but...
pr_err()
is way shorter
printk(KERN_ERR )
and forces you to specify log level. Pavel
-- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
| |