From: Randy Dunlap 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. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton --- scripts/kernel-doc | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletion(-) diff -puN scripts/kernel-doc~kernel-doc-fix-leading-dot-in-man-mode-output scripts/kernel-doc --- a/scripts/kernel-doc~kernel-doc-fix-leading-dot-in-man-mode-output +++ a/scripts/kernel-doc @@ -404,7 +404,12 @@ sub output_highlight { print $lineprefix, $blankline; } else { $line =~ s/\\\\\\/\&/g; - print $lineprefix, $line; + if ($output_mode eq "man" && substr($line, 0, 1) eq ".") { + print "\\&$line"; + } + else { + print $lineprefix, $line; + } } print "\n"; } _