Getting the message from the kernel
Posted Jun 21, 2007 6:44 UTC (Thu) by pfavr
In reply to: Getting the message from the kernel
Parent article: Getting the message from the kernel
Yes! This is the way to go.
If you get messages from the kernel - then __FILE__ and __LINE__ is the easiest way to get people grok the source.
People interested in looking up numbers on a list are probably building their own kernel anyway.
Using __FILE__ and __LINE__ will make sure the references are updated with changes to the kernel.
(and the source is the real documentation anyway :-)
to post comments)