summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Viro <viro@www.linux.org.uk>2004-05-28 21:12:47 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-05-28 21:12:47 -0700
commit79f21235ec35e69cff70c5b6914ee020b4e01831 (patch)
treef55f31a7ad740c0ac5b07b47994c8d8794ae2e86 /include
parentebf392cd3adede7adf10950f48f25766c5adc9df (diff)
[PATCH] sparse: ipc __user annotation
Diffstat (limited to 'include')
-rw-r--r--include/linux/sem.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/sem.h b/include/linux/sem.h
index aaf45764a56e..c365f7989928 100644
--- a/include/linux/sem.h
+++ b/include/linux/sem.h
@@ -45,10 +45,10 @@ struct sembuf {
/* arg for semctl system calls. */
union semun {
int val; /* value for SETVAL */
- struct semid_ds *buf; /* buffer for IPC_STAT & IPC_SET */
- unsigned short *array; /* array for GETALL & SETALL */
- struct seminfo *__buf; /* buffer for IPC_INFO */
- void *__pad;
+ struct semid_ds __user *buf; /* buffer for IPC_STAT & IPC_SET */
+ unsigned short __user *array; /* array for GETALL & SETALL */
+ struct seminfo __user *__buf; /* buffer for IPC_INFO */
+ void __user *__pad;
};
struct seminfo {