diff options
author | 2015-02-09 11:31:13 -0600 | |
---|---|---|
committer | 2015-02-18 21:06:38 +0100 | |
commit | 0937e3b025f70e33f018aa55ee8d32b8731730a7 (patch) | |
tree | f8bed0ffeae83f15e02f6f60bd1d910d9791836b /scripts/gdb/linux/utils.py | |
parent | livepatch: remove extern specifier from header files (diff) | |
download | linux-rng-0937e3b025f70e33f018aa55ee8d32b8731730a7.tar.xz linux-rng-0937e3b025f70e33f018aa55ee8d32b8731730a7.zip |
livepatch: simplify disable error path
If registering the function with ftrace has previously succeeded,
unregistering will almost never fail. Even if it does, it's not a fatal
error. We can still carry on and disable the klp_func from being used
by removing it from the klp_ops func stack.
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions