commit | 0937e3b025f70e33f018aa55ee8d32b8731730a7 | [log] [tgz] |
---|---|---|
author | Josh Poimboeuf <jpoimboe@redhat.com> | Mon Feb 09 11:31:13 2015 -0600 |
committer | Jiri Kosina <jkosina@suse.cz> | Wed Feb 18 21:06:38 2015 +0100 |
tree | f8bed0ffeae83f15e02f6f60bd1d910d9791836b | |
parent | 4421f8f0fa02bc982b410cd773223cc280791c54 [diff] |
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>