patch-2.4.10 linux/drivers/char/rio/riointr.c

Next file: linux/drivers/char/rio/riotable.c
Previous file: linux/drivers/char/rio/riocmd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.9/linux/drivers/char/rio/riointr.c linux/drivers/char/rio/riointr.c
@@ -819,7 +819,7 @@
 	  ** and available space.
 	  */
 			
-	  transCount = min(unsigned int, PacketP->len & PKT_LEN_MASK,
+	  transCount = min_t(unsigned int, PacketP->len & PKT_LEN_MASK,
 			   TTY_FLIPBUF_SIZE - TtyP->flip.count);
 	  rio_dprintk (RIO_DEBUG_REC,  "port %d: Copy %d bytes\n", 
 				      PortP->PortNum, transCount);

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