projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Intel xhci: Ignore spurious successful event.
[cascardo/linux.git]
/
kernel
/
module.c
diff --git
a/kernel/module.c
b/kernel/module.c
index
2287972
..
795bdc7
100644
(file)
--- a/
kernel/module.c
+++ b/
kernel/module.c
@@
-2812,7
+2812,7
@@
static struct module *load_module(void __user *umod,
}
/* This has to be done once we're sure module name is unique. */
}
/* This has to be done once we're sure module name is unique. */
- if (!mod->taints)
+ if (!mod->taints
|| mod->taints == (1U<<TAINT_CRAP)
)
dynamic_debug_setup(info.debug, info.num_debug);
/* Find duplicate symbols */
dynamic_debug_setup(info.debug, info.num_debug);
/* Find duplicate symbols */
@@
-2849,7
+2849,7
@@
static struct module *load_module(void __user *umod,
module_bug_cleanup(mod);
ddebug:
module_bug_cleanup(mod);
ddebug:
- if (!mod->taints)
+ if (!mod->taints
|| mod->taints == (1U<<TAINT_CRAP)
)
dynamic_debug_remove(info.debug);
unlock:
mutex_unlock(&module_mutex);
dynamic_debug_remove(info.debug);
unlock:
mutex_unlock(&module_mutex);