ipc/compat_sys_msgrcv: change msgtyp type from long to compat_long_t
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 4 Mar 2014 11:39:03 +0000 (12:39 +0100)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 6 Mar 2014 14:35:09 +0000 (15:35 +0100)
commit291fdb0bcebd5e8db6af767c1fdc522167dad73d
tree019dbcd82cdc4a2e9d6c2426f0c52b8c2eb945e0
parentc2e7c3d0ef0d1a3765792a35ae9e6f91a3025214
ipc/compat_sys_msgrcv: change msgtyp type from long to compat_long_t

Change the type of compat_sys_msgrcv's msgtyp parameter from long
to compat_long_t, since compat user space passes only a 32 bit signed
value.
Let the compat wrapper do proper sign extension to 64 bit of this
parameter.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
include/linux/compat.h
ipc/compat.c
This page took 0.026465 seconds and 5 git commands to generate.