diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-01-14 14:13:54 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-18 10:35:30 -0800 |
commit | b52ba9cb351acdbdad83c9765f307f169a79b732 (patch) | |
tree | 4a24962f268d0416b084fb7843c133330042f67e /ipc | |
parent | a12c8633c17bef009ded3df0b014c521a3d77b3b (diff) | |
download | lwn-b52ba9cb351acdbdad83c9765f307f169a79b732.tar.gz lwn-b52ba9cb351acdbdad83c9765f307f169a79b732.zip |
Convert all system calls to return a long
commit 2ed7c03ec17779afb4fcfa3b8c61df61bd4879ba upstream.
Convert all system calls to return a long. This should be a NOP since all
converted types should have the same size anyway.
With the exception of sys_exit_group which returned void. But that doesn't
matter since the system call doesn't return.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/mqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/mqueue.c b/ipc/mqueue.c index 96fb36cd9874..1d253cb508c3 100644 --- a/ipc/mqueue.c +++ b/ipc/mqueue.c @@ -896,7 +896,7 @@ out: return ret; } -asmlinkage ssize_t sys_mq_timedreceive(mqd_t mqdes, char __user *u_msg_ptr, +asmlinkage long sys_mq_timedreceive(mqd_t mqdes, char __user *u_msg_ptr, size_t msg_len, unsigned int __user *u_msg_prio, const struct timespec __user *u_abs_timeout) { |