diff options
author | Namit Gupta <gupta.namit@samsung.com> | 2018-01-08 10:41:21 +0530 |
---|---|---|
committer | Jessica Yu <jeyu@kernel.org> | 2018-01-15 20:44:21 +0100 |
commit | 1323eac7fd6560c809aa0ea6081904a5dfa581a9 (patch) | |
tree | b0b825f71dcbc2dad4c32a9065274f8a0f1cf5b8 /crypto/ecdh_helper.c | |
parent | ed875ea1fcc6c34ea232610c3041d0978e327bbe (diff) | |
download | talos-obmc-linux-1323eac7fd6560c809aa0ea6081904a5dfa581a9.tar.gz talos-obmc-linux-1323eac7fd6560c809aa0ea6081904a5dfa581a9.zip |
ftrace/module: Move ftrace_release_mod() to ddebug_cleanup label
ftrace_module_init happen after dynamic_debug_setup, it is desired that
cleanup should be called after this label however in current implementation
it is called in free module label,ie:even though ftrace in not initialized,
from so many fail case ftrace_release_mod() will be called and unnecessary
traverse the whole list.
In below patch we moved ftrace_release_mod() from free_module label to
ddebug_cleanup label. that is the best possible location, other solution
is to make new label to ftrace_release_mod() but since ftrace_module_init()
is not return with minimum changes it should be in ddebug_cleanup label.
Signed-off-by: Namit Gupta <gupta.namit@samsung.com>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Jessica Yu <jeyu@kernel.org>
Diffstat (limited to 'crypto/ecdh_helper.c')
0 files changed, 0 insertions, 0 deletions