patch-2.1.5 linux/drivers/net/slip.c
Next file: linux/fs/binfmt_elf.c
Previous file: linux/drivers/net/ppp.c
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Wed Oct 16 09:17:30 1996
- Orig file:
v2.1.4/linux/drivers/net/slip.c
- Orig date:
Wed Oct 16 10:48:19 1996
diff -u --recursive --new-file v2.1.4/linux/drivers/net/slip.c linux/drivers/net/slip.c
@@ -1069,7 +1069,7 @@
if (err) {
return err;
}
- tmp = get_user((int *)arg);
+ get_user(tmp,(int *)arg);
#ifndef SL_INCLUDE_CSLIP
if (tmp & (SL_MODE_CSLIP|SL_MODE_ADAPTIVE)) {
return -EINVAL;
@@ -1124,7 +1124,7 @@
if (err) {
return -err;
}
- tmp = get_user((int *)arg);
+ get_user(tmp,(int *)arg);
if (tmp > 255) /* max for unchar */
return -EINVAL;
if ((sl->keepalive = (unchar) tmp) != 0) {
@@ -1149,9 +1149,9 @@
if (err) {
return -err;
}
- tmp = get_user((int *)arg);
+ get_user(tmp,(int *)arg);
if (tmp > 255) /* max for unchar */
- return -EINVAL;
+ return -EINVAL;
if ((sl->outfill = (unchar) tmp) != 0){
sl->outfill_timer.expires=jiffies+sl->outfill*HZ;
add_timer(&sl->outfill_timer);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov