[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4670E8BF.8000202@zytor.com>
Date: Thu, 14 Jun 2007 00:05:35 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Valdis.Kletnieks@...edu
CC: Joe Perches <joe@...ches.com>, holzheu@...ux.vnet.ibm.com,
Greg KH <gregkh@...e.de>, linux-kernel@...r.kernel.org,
randy.dunlap@...cle.com, akpm@...l.org, mtk-manpages@....net,
schwidefsky@...ibm.com, heiko.carstens@...ibm.com
Subject: Re: [RFC/PATCH] Documentation of kernel messages
Valdis.Kletnieks@...edu wrote:
> On Wed, 13 Jun 2007 12:04:56 PDT, Joe Perches said:
>
>> I believe it better to simply add __FILE__ & __LINE__ to the
>> macro rather than some other externally specified unique
>> identifier that adds developer overhead and easily gets stale.
>
> There's been plenty of times I've wished for that. Now if we just found a way
> to do something sane for drivers/net/wireless/mac80211/iwlwifi/base.c ;)
>
Why don't you just redefine the KERN_* macros which is used by almost
every printk in the system to contain said __FILE__ and __LINE__, then?
-hpa
-
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