diff options
author | Josh Poimboeuf <[email protected]> | 2015-02-09 11:31:13 -0600 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2015-02-18 21:06:38 +0100 |
commit | 0937e3b025f70e33f018aa55ee8d32b8731730a7 (patch) | |
tree | f8bed0ffeae83f15e02f6f60bd1d910d9791836b /lib/memory-notifier-error-inject.c | |
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 <[email protected]>
Reviewed-by: Miroslav Benes <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions