diff options
| author | Alexander Viro <viro@www.linux.org.uk> | 2004-05-28 21:12:47 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-05-28 21:12:47 -0700 |
| commit | 79f21235ec35e69cff70c5b6914ee020b4e01831 (patch) | |
| tree | f55f31a7ad740c0ac5b07b47994c8d8794ae2e86 /include/linux | |
| parent | ebf392cd3adede7adf10950f48f25766c5adc9df (diff) | |
[PATCH] sparse: ipc __user annotation
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sem.h | 8 |
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 { |
