lkml.org 
[lkml]   [2009]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] thinkpad_acpi.c: Remove #define TPACPI_<level>s for printks
On Fri, 25 Dec 2009, Joe Perches wrote:
> On Sat, 2009-12-26 at 02:20 -0200, Henrique de Moraes Holschuh wrote:
> > Why would I want a parameter macro instead of a straightforward bunch of
> > #defines ?
>
> To make grep a bit easier.

Is greping for KERN_<priority> common?

Unfolding the printk messages to a single line _is_ useful for grep, though,
and I plan to do just that (not high priority, though), and I would accept
patches that do just that without any fuss :)

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh


\
 
 \ /
  Last update: 2009-12-27 01:31    [W:0.036 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site