Hi,

This is Greg's patch for the ftdi_sio driver to change the warning level for zero length writes to something less annoying, trivially back-ported for the 2.4 kernel. Signed off by me in the attachment.

Please Apply.  TIA.

--
-=( Ian Abbott @ MEV Ltd.    E-mail: <[EMAIL PROTECTED]>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-
This is Greg KH's patch for the ftdi_sio driver to change the warning
level for zero-length writes which was previously applied in 2.6.11, but
not yet applied to the 2.4 kernel.

Signed-off-by: Ian Abbott <[EMAIL PROTECTED]>

diff -ur a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
--- a/drivers/usb/serial/ftdi_sio.c	2005-04-29 12:07:20.000000000 +0100
+++ b/drivers/usb/serial/ftdi_sio.c	2005-05-03 11:37:45.000000000 +0100
@@ -1451,7 +1451,7 @@
 	dbg("%s port %d, %d bytes", __FUNCTION__, port->number, count);
 
 	if (count == 0) {
-		err("write request of 0 bytes");
+		dbg("write request of 0 bytes");
 		goto exit;
 	}
 	

Reply via email to