summaryrefslogtreecommitdiff
path: root/include/linux/aio.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@evo.osdl.org>2004-03-30 19:12:17 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-03-30 19:12:17 -0800
commit7dac59fd69923d06b77294d10b7a1be1ec84378b (patch)
tree956a1ba5d085bf214188c4fb53ae8b17726bd3cb /include/linux/aio.h
parent96531b3706a5d1e84f138ce45afb3d003f6adade (diff)
Add __user pointer annotations
Every pointer in <syscalls.h> had better be a user pointer. Also add some others that a quick sanity check picked up on.
Diffstat (limited to 'include/linux/aio.h')
-rw-r--r--include/linux/aio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/aio.h b/include/linux/aio.h
index f4c91615a503..b03ebead268c 100644
--- a/include/linux/aio.h
+++ b/include/linux/aio.h
@@ -59,7 +59,7 @@ struct kiocb {
struct list_head ki_list; /* the aio core uses this
* for cancellation */
- void *ki_user_obj; /* pointer to userland's iocb */
+ void __user *ki_user_obj; /* pointer to userland's iocb */
__u64 ki_user_data; /* user's data for completion */
loff_t ki_pos;