patch-2.4.10 linux/drivers/net/wan/comx-proto-lapb.c
Next file: linux/drivers/net/wan/comx-proto-ppp.c
Previous file: linux/drivers/net/wan/comx-proto-fr.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Thu Sep 13 16:04:43 2001
- Orig file:
v2.4.9/linux/drivers/net/wan/comx-proto-lapb.c
- Orig date:
Mon Aug 27 12:41:43 2001
diff -u --recursive --new-file v2.4.9/linux/drivers/net/wan/comx-proto-lapb.c linux/drivers/net/wan/comx-proto-lapb.c
@@ -212,7 +212,7 @@
if (count >= len - off) {
*eof = 1;
}
- return min(int, count, len - off);
+ return min_t(int, count, len - off);
}
static int comxlapb_write_proc(struct file *file, const char *buffer,
@@ -543,3 +543,5 @@
module_init(comx_proto_lapb_init);
#endif
module_exit(comx_proto_lapb_exit);
+
+MODULE_LICENSE("GPL");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)