Commit 4596dce9 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

[PATCH] sparse: kernel/module.c sparse fix

Add __user annotation for !CONFIG_MODULE_UNLOAD case.

From: Mika Kukkonen <mika@osdl.org>
Signed-off-by: default avatarRandy Dunlap <rddunlap@osdl.org>
parent 32c1957c
...@@ -716,7 +716,7 @@ static inline void module_unload_init(struct module *mod) ...@@ -716,7 +716,7 @@ static inline void module_unload_init(struct module *mod)
} }
asmlinkage long asmlinkage long
sys_delete_module(const char *name_user, unsigned int flags) sys_delete_module(const char __user *name_user, unsigned int flags)
{ {
return -ENOSYS; return -ENOSYS;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment