kernel-doc: fix leading dot in man-mode output
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 19 Jul 2007 08:48:25 +0000 (01:48 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 19 Jul 2007 17:04:45 +0000 (10:04 -0700)
commitcdccb316c0860b26ad52f622a7592122a62d02b4
treec7c5e07bdf327959dea145efb574f7f94ab547d5
parent51f5a0c8f63990fcb6e09ed52be348df58c9e416
kernel-doc: fix leading dot in man-mode output

If a parameter description begins with a '.', this indicates a "request"
for "man" mode output (*roff), so it needs special handling.

Problem case is in include/asm-i386/atomic.h for function
atomic_add_unless():
 * @u: ...unless v is equal to u.
This parameter description is currently not printed in man mode output.

[akpm@linux-foundation.org: cleanup]
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/kernel-doc