patch-2.4.2 linux/net/decnet/sysctl_net_decnet.c

Next file: linux/net/ipv4/arp.c
Previous file: linux/net/decnet/af_decnet.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.1/linux/net/decnet/sysctl_net_decnet.c linux/net/decnet/sysctl_net_decnet.c
@@ -127,7 +127,7 @@
 				void *newval, size_t newlen,
 				void **context)
 {
-	int len;
+	size_t len;
 	dn_address addr;
 
 	if (oldval && oldlenp) {
@@ -161,7 +161,7 @@
 				void *buffer, size_t *lenp)
 {
 	char addr[DN_ASCBUF_LEN];
-	int len;
+	size_t len;
 	dn_address dnaddr;
 
 	if (!*lenp || (filp->f_pos && !write)) {
@@ -265,7 +265,7 @@
 				struct file * filp,
 				void *buffer, size_t *lenp)
 {
-	int len;
+	size_t len;
 	struct net_device *dev = decnet_default_device;
 	char devname[17];
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)