diff options
author | Steven Rostedt <srostedt@redhat.com> | 2011-05-23 21:24:25 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-05-26 04:13:37 +0200 |
commit | a1cd6173596c6f7d1f0b41ac7d33ecf03c581edc (patch) | |
tree | 413ed775a2c48d8ad003740fa6ef0d912f784842 /kernel/timer.c | |
parent | jump_label: Check entries limit in __jump_label_update (diff) | |
download | linux-a1cd6173596c6f7d1f0b41ac7d33ecf03c581edc.tar.xz linux-a1cd6173596c6f7d1f0b41ac7d33ecf03c581edc.zip |
ftrace: Have ftrace_startup() return failure code
The register_ftrace_function() returns an error code on failure
except if the call to ftrace_startup() fails. Add a error return to
ftrace_startup() if it fails to start, allowing register_ftrace_funtion()
to return a proper error value.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/timer.c')
0 files changed, 0 insertions, 0 deletions