diff options
| author | Randy Dunlap <rddunlap@osdl.org> | 2004-06-18 04:26:26 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-06-18 04:26:26 -0700 |
| commit | 4596dce98c28df5e80e131a75bac4f9070a67702 (patch) | |
| tree | 9f7c28b87c1137670f14438f65251ee503c2c49e /kernel | |
| parent | 32c1957cc601fcab79f0926cfce938f327fdadeb (diff) | |
[PATCH] sparse: kernel/module.c sparse fix
Add __user annotation for !CONFIG_MODULE_UNLOAD case.
From: Mika Kukkonen <mika@osdl.org>
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/module.c b/kernel/module.c index 372f0eb9ddf1..b96b1397422b 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -716,7 +716,7 @@ static inline void module_unload_init(struct module *mod) } 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; } |
