speedtch usbatm.c,1.55,1.56

Duncan Sands duncan at infradead.org
Fri Nov 18 12:59:53 EST 2005


Update of /home/cvs/speedtch
In directory phoenix.infradead.org:/tmp/cvs-serv22489

Modified Files:
	usbatm.c 
Log Message:
Output the endpoint, not the pipe.


Index: usbatm.c
===================================================================
RCS file: /home/cvs/speedtch/usbatm.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- usbatm.c	18 Nov 2005 17:53:49 -0000	1.55
+++ usbatm.c	18 Nov 2005 17:59:50 -0000	1.56
@@ -1143,7 +1143,7 @@
 		unsigned int num_packets;
 
 		if ((maxpacket < 1) || (maxpacket > UDSL_MAX_BUF_SIZE)) {
-			dev_err(dev, "%s: invalid pipe %d!\n", __func__, channel->endpoint);
+			dev_err(dev, "%s: invalid endpoint %02x!\n", __func__, usb_pipeendpoint(channel->endpoint));
 			error = -EINVAL;
 			goto fail_unbind;
 		}




More information about the Usbatm-commits mailing list