]> Pileus Git - ~andy/linux/commit
tracing: Put trace_puts() comment above trace_puts() macro for kernel doc
authorSteven Rostedt <rostedt@goodmis.org>
Thu, 2 May 2013 15:26:13 +0000 (11:26 -0400)
committerJiri Kosina <jkosina@suse.cz>
Tue, 28 May 2013 10:02:11 +0000 (12:02 +0200)
commitbcf312cf762f3ff02c0cbd218564e6241f0d1f9f
tree62e9bd357f3559f650b0ab30bfe73b4b87805ebd
parent8ef726cb23717b8b064ed4634202c9f43776a547
tracing: Put trace_puts() comment above trace_puts() macro for kernel doc

Kernel-doc gives the following warning:

  DOCPROC Documentation/DocBook/kernel-api.xml
Warning(/include/linux/kernel.h:590): No description found for parameter 'ip'
Warning(/include/linux/kernel.h:590): No description found for parameter 'ip'

Due to the externs between the the comment and the trace_puts() macro.
This is fixed by moving the externs below the macro and keeping the
macro and comment directly together.

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
include/linux/kernel.h