On Wed, Jul 30, 2008 at 06:56:59PM +0200, Martin Schwidefsky wrote:
Ick, so you are going to have to define a message number per file?
How is that going to work, it looks like you use ids 0-2 below in the .c
file, yet in this documentation file they are 1-3. Off by one
somewhere? :)
Any way to put this stuff in the .c file itself? It's hard enough
getting people to update Documentation/ABI/, knowing to go modify
something else in the Documentation directory is going to be _very_
difficult.
Can't you just use KBUILD_MODULE_NAME instead? That makes it one less
thing you have to define in the code (and forget about when moving files
around or cut-and-pasting).
Magic number "1" here? See comment above about this.
thanks,
greg k-h
--