Commit 663c17b6 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Fix sign handling bugs in Decnet

From: Ravikiran G Thirumalai <kiran@in.ibm.com>

Fix decnet ioctl(TIOCOUTQ).
parent 22547331
......@@ -1229,7 +1229,7 @@ static int dn_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
struct sock *sk = sock->sk;
struct dn_scp *scp = DN_SK(sk);
int err = -EOPNOTSUPP;
unsigned long amount = 0;
long amount = 0;
struct sk_buff *skb;
int val;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment