aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm/suni.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/atm/suni.c')
-rw-r--r--drivers/atm/suni.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/atm/suni.c b/drivers/atm/suni.c
index 06817dec0c25..b1d063cc4fbe 100644
--- a/drivers/atm/suni.c
+++ b/drivers/atm/suni.c
@@ -188,7 +188,7 @@ static int suni_ioctl(struct atm_dev *dev,unsigned int cmd,void __user *arg)
188 case SONET_GETDIAG: 188 case SONET_GETDIAG:
189 return get_diag(dev,arg); 189 return get_diag(dev,arg);
190 case SONET_SETFRAMING: 190 case SONET_SETFRAMING:
191 if (arg != SONET_FRAME_SONET) return -EINVAL; 191 if ((int)(unsigned long)arg != SONET_FRAME_SONET) return -EINVAL;
192 return 0; 192 return 0;
193 case SONET_GETFRAMING: 193 case SONET_GETFRAMING:
194 return put_user(SONET_FRAME_SONET,(int __user *)arg) ? 194 return put_user(SONET_FRAME_SONET,(int __user *)arg) ?