提交 bac37ec8 编写于 作者: S Shaun Pereira 提交者: David S. Miller

[X25]: fix kernel error message 64 bit kernel

Fixes the following error from kernel
T2 kernel: schedule_timeout:
wrong timeout value ffffffffffffffff from ffffffff88164796
Signed-off-by: NShaun Pereira <spereira@tusc.com.au>
Acked-by: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 1b06e6ba
......@@ -744,7 +744,7 @@ static int x25_connect(struct socket *sock, struct sockaddr *uaddr,
return rc;
}
static int x25_wait_for_data(struct sock *sk, int timeout)
static int x25_wait_for_data(struct sock *sk, long timeout)
{
DECLARE_WAITQUEUE(wait, current);
int rc = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册