Messages in this thread | | | Date | Thu, 14 Jun 2007 00:05:35 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [RFC/PATCH] Documentation of kernel messages |
| |
Valdis.Kletnieks@vt.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |