Messages in this thread | | | From | Rob Landley <> | Subject | Re: [Announce] Linux-tiny project revival | Date | Thu, 20 Sep 2007 19:28:49 -0500 |
| |
On Thursday 20 September 2007 5:14:25 pm Joe Perches wrote: > On Thu, 2007-09-20 at 14:58 -0700, Tim Bird wrote: > > Given that there are about 60,000 printks in the kernel (and that's > > not counting wrappers like dprintk() and other locally-defined > > functions and macros) it would be a huge task to examine the code > > and differentiate strings that really start a new log message > > (and thus should have an attached log level) and strings > > that don't. > > I've converted most all of that treewide. > > printk(KERN_<level> to pr_<level>( > > It's pretty automated.
Perl, being a write-only language, does not help my poor little brain understand what's going on. You convert printk(KERN_INFO, blah) to pr_INFO(blah)? I'm not finding pr_INFO with a grep on the files in 2.6.23-rc7. Is this something you added?
Rob -- "One of my most productive days was throwing away 1000 lines of code." - Ken Thompson. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |