diff options
author | Namhyung Kim <namhyung@gmail.com> | 2010-10-26 21:22:42 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-26 23:52:15 (GMT) |
commit | 562f5e638de4ef451226552fe8dd7847bacea24e (patch) | |
tree | 69a0ac78c9eca823a297c4b8e0810a5b1d4e3ee8 /kernel/user.c | |
parent | f0cfec11180973e4f4b2b6909623e47eaaf7ecfe (diff) | |
download | linux-562f5e638de4ef451226552fe8dd7847bacea24e.tar.xz |
init: mark __user address space on string literals
When calling syscall service routines in kernel, some of arguments should
be user pointers but were missing __user markup on string literals. Add
it. Removes some sparse warnings.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Cc: Phillip Lougher <phillip@lougher.demon.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/user.c')
0 files changed, 0 insertions, 0 deletions