patch-2.4.10 linux/drivers/net/sk98lin/skproc.c

Next file: linux/drivers/net/smc9194.c
Previous file: linux/drivers/net/sk98lin/h/skdrv1st.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.9/linux/drivers/net/sk98lin/skproc.c linux/drivers/net/sk98lin/skproc.c
@@ -293,7 +293,7 @@
 	if (buffer_length >= len - offset) {
 		*eof = 1;
 	}
-	return (min(int, buffer_length, len - offset));
+	return (min_t(int, buffer_length, len - offset));
 }
 
 

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