tiny alpha patch

Alexander V. Lukyanov (lav@yars.free.net)
Fri, 20 Nov 1998 22:52:50 +0300


Hi!

I noticed that timeout should really be signed long since do_select takes
pointer to signed long. It seems harmless, but is incorrect. Applies to
2.1.129.

--- arch/alpha/kernel/osf_sys.c.1 Sat Nov 14 16:21:00 1998
+++ arch/alpha/kernel/osf_sys.c Sat Nov 14 16:21:10 1998
@@ -1133,7 +1133,7 @@
struct timeval32 *tvp)
{
fd_set_buffer *fds;
- unsigned long timeout;
+ long timeout;
int ret;

timeout = MAX_SCHEDULE_TIMEOUT;

Alexander.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/