mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-12 06:01:58 +00:00
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>
This commit is contained in:
parent
7cbc5b8d4a
commit
a1cd617359
1 changed files with 8 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue