ANDROID: modules: cfi cleanup for module load failure
Cleanup cfi shadow for failure in module loading, to avoid causing warnings. Bug: 172542186 Change-Id: I1de7ffa7d884c8e46891b8bbc8196ec0d2cef0d6 Signed-off-by: Mayank Grover <groverm@codeaurora.org>
This commit is contained in:
@@ -4002,6 +4002,8 @@ static int load_module(struct load_info *info, const char __user *uargs,
|
||||
mutex_unlock(&module_mutex);
|
||||
|
||||
ddebug_cleanup:
|
||||
/* Clean up CFI for the module. */
|
||||
cfi_cleanup(mod);
|
||||
ftrace_release_mod(mod);
|
||||
dynamic_debug_remove(mod, info->debug);
|
||||
synchronize_rcu();
|
||||
|
||||
Reference in New Issue
Block a user