diff options
author | 2012-10-22 16:09:04 +0200 | |
---|---|---|
committer | 2012-12-13 13:50:57 +0800 | |
commit | 10dc42b5b262f3bb2e4532759e4e1147ebf6a22f (patch) | |
tree | d2695d50b1aeb12e4cd08de708197630701e1b26 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Blackfin: Add missing __user annotations to put_user (diff) | |
download | linux-dev-10dc42b5b262f3bb2e4532759e4e1147ebf6a22f.tar.xz linux-dev-10dc42b5b262f3bb2e4532759e4e1147ebf6a22f.zip |
Blackfin: Annotate clear_user 'to' parameter with __user
The 'to' parameter of clear_user is supposed to take a userspace pointer, so
annotate it with __user. This fixes the following and similar sparse warnings:
fs/binfmt_elf_fdpic.c:714:35: warning: incorrect type in argument 1 (different address spaces)
fs/binfmt_elf_fdpic.c:714:35: expected void [noderef] <asn:1>*to
fs/binfmt_elf_fdpic.c:714:35: got void *<noident>
fs/binfmt_elf_fdpic.c:1119:29: warning: incorrect type in argument 1 (different address spaces)
fs/binfmt_elf_fdpic.c:1119:29: expected void *to
fs/binfmt_elf_fdpic.c:1119:29: got void [noderef] <asn:1>*<noident>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions