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
- Lines: 9
- Date:
Mon Sep 10 09:04:53 2001
- Orig file:
v2.4.9/linux/drivers/char/rio/riointr.c
- Orig date:
Mon Aug 27 12:41:41 2001
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)