git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
drivers
/
atm
/
suni.c
diff --git
a/drivers/atm/suni.c
b/drivers/atm/suni.c
index
e5a0f5c
..
678df94
100644
(file)
--- a/
drivers/atm/suni.c
+++ b/
drivers/atm/suni.c
@@
-196,7
+196,7
@@
static int suni_ioctl(struct atm_dev *dev,unsigned int cmd,void __user *arg)
case SONET_GETFRSENSE:
return -EINVAL;
case ATM_SETLOOP:
- return set_loopback(dev,(int)
(long)
arg);
+ return set_loopback(dev,(int)
(unsigned long)
arg);
case ATM_GETLOOP:
return put_user(PRIV(dev)->loop_mode,(int __user *)arg) ?
-EFAULT : 0;