summaryrefslogtreecommitdiffstats
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2013-05-02 11:26:13 -0400
committerJiri Kosina <jkosina@suse.cz>2013-05-28 12:02:11 +0200
commitbcf312cf762f3ff02c0cbd218564e6241f0d1f9f (patch)
tree62e9bd357f3559f650b0ab30bfe73b4b87805ebd /include/linux/kernel.h
parent8ef726cb23717b8b064ed4634202c9f43776a547 (diff)
downloadop-kernel-dev-bcf312cf762f3ff02c0cbd218564e6241f0d1f9f.zip
op-kernel-dev-bcf312cf762f3ff02c0cbd218564e6241f0d1f9f.tar.gz
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>
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r--include/linux/kernel.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index e9ef6d6..bd95d1f 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -562,9 +562,6 @@ int __trace_bprintk(unsigned long ip, const char *fmt, ...);
extern __printf(2, 3)
int __trace_printk(unsigned long ip, const char *fmt, ...);
-extern int __trace_bputs(unsigned long ip, const char *str);
-extern int __trace_puts(unsigned long ip, const char *str, int size);
-
/**
* trace_puts - write a string into the ftrace buffer
* @str: the string to record
@@ -600,6 +597,8 @@ extern int __trace_puts(unsigned long ip, const char *str, int size);
else \
__trace_puts(_THIS_IP_, str, strlen(str)); \
})
+extern int __trace_bputs(unsigned long ip, const char *str);
+extern int __trace_puts(unsigned long ip, const char *str, int size);
extern void trace_dump_stack(int skip);
OpenPOWER on IntegriCloud