patch-2.4.27 linux-2.4.27/drivers/usb/serial/io_edgeport.c
Next file: linux-2.4.27/drivers/usb/serial/ipaq.c
Previous file: linux-2.4.27/drivers/usb/serial/ftdi_sio.h
Back to the patch index
Back to the overall index
-  Lines: 8
 -  Date:
2004-08-07 16:26:05.802393949 -0700
 -  Orig file: 
linux-2.4.26/drivers/usb/serial/io_edgeport.c
 -  Orig date: 
2004-04-14 06:05:35.000000000 -0700
 
diff -urN linux-2.4.26/drivers/usb/serial/io_edgeport.c linux-2.4.27/drivers/usb/serial/io_edgeport.c
@@ -1913,6 +1913,7 @@
 
 		case TIOCGICOUNT:
 			cnow = edge_port->icount;
+			memset(&icount, 0, sizeof(icount));
 			icount.cts = cnow.cts;
 			icount.dsr = cnow.dsr;
 			icount.rng = cnow.rng;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)