speedtch usbatm.c,1.29,1.30
Duncan Sands
duncan at infradead.org
Tue May 3 06:10:36 EDT 2005
Update of /home/cvs/speedtch
In directory phoenix.infradead.org:/tmp/cvs-serv32192
Modified Files:
usbatm.c
Log Message:
Write the suicide note before we cut our throat, not after.
Index: usbatm.c
===================================================================
RCS file: /home/cvs/speedtch/usbatm.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- usbatm.c 3 May 2005 10:02:24 -0000 1.29
+++ usbatm.c 3 May 2005 10:10:33 -0000 1.30
@@ -421,8 +421,8 @@
unsigned int num_written;
unsigned int stride = instance->tx_channel.stride;
- UDSL_ASSERT(!(avail_space % stride));
vdbg("%s: skb->len=%d, avail_space=%u", __func__, skb->len, avail_space);
+ UDSL_ASSERT(!(avail_space % stride));
for (num_written = 0; num_written < avail_space && ctrl->len;
num_written += stride, target += stride) {
More information about the Usbatm-commits
mailing list