On Fri, 18 Apr 2008 17:41:29 GMT
Linux Kernel Mailing List <linux-kernel@vger.kernel.org> wrote:
Please just nuke all the interface comments in the header files. They
duplicate the kernedoc comments at the definition site and we don't want to
have to update both versions whenever we change something.
Well, these are trickier because there is an implementation of this
function within each architecture. So I think that in this case it _does_
make sense to document the function in a common place, and the only common
place is this header file.
So please
a) make this a kerneldoc comment and
b) remove the kerneldoc at the definition site(s).
(alternative: teach the kerneldoc system to go fishing in the various arch
directories to find the appropriate documentation, but I don't know enough
about kerneldoc to be able say anything about that).
This should become a kernedoc comment, as this is the only place we can
document it. So please add the leading /**
ditto
We're slowly trying to weed out dependencies on NR_CPUS: switching to
num_online_cpus, num_possible_cpus, etc. This one takes us backwards.
Fixable?
etc.
Surprisingly, kgdb appears to be the only part of the kernel which is using
BUFMAX. But as a kernel-wide identifier, it isn't a very well-chosen one.
How many are we up to now?
akpm:/usr/src/linux-2.6.25> grep -ri '"0123456789abcdef"' . | wc -l
40
lol.
Nice-looking code - kgb has improved rather a lot. I'm glad we finally got
it in. Maybe one day I'll get to use it again :(
--