]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
[PATCH] compat_sys_pselect7() fix
authorAndrew Morton <akpm@osdl.org>
Wed, 1 Feb 2006 11:04:49 +0000 (03:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:10 +0000 (08:53 -0800)
fs/compat.c: In function `compat_sys_pselect7':
fs/compat.c:1820: warning: passing arg 5 of `compat_core_sys_select' from incompatible pointer type

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/compat.c

index ff0bafcff7204ac1dc24204ef0c3a47f919eed6c..cc58a20df57a58a6fcb8367ca5c2d51c2cafc4ba 100644 (file)
@@ -1781,7 +1781,7 @@ asmlinkage long compat_sys_pselect7(int n, compat_ulong_t __user *inp,
 {
        compat_sigset_t ss32;
        sigset_t ksigmask, sigsaved;
-       long timeout = MAX_SCHEDULE_TIMEOUT;
+       s64 timeout = MAX_SCHEDULE_TIMEOUT;
        struct compat_timespec ts;
        int ret;