patch-2.4.25 linux-2.4.25/drivers/usb/storage/transport.c

Next file: linux-2.4.25/drivers/usb/storage/unusual_devs.h
Previous file: linux-2.4.25/drivers/usb/serial/visor.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/drivers/usb/storage/transport.c linux-2.4.25/drivers/usb/storage/transport.c
@@ -1140,7 +1140,7 @@
 	US_DEBUGP("Bulk command S 0x%x T 0x%x Trg %d LUN %d L %d F %d CL %d\n",
 		  le32_to_cpu(bcb->Signature), bcb->Tag,
 		  (bcb->Lun >> 4), (bcb->Lun & 0x0F), 
-		  bcb->DataTransferLength, bcb->Flags, bcb->Length);
+		  le32_to_cpu(bcb->DataTransferLength), bcb->Flags, bcb->Length);
 	result = usb_stor_bulk_msg(us, bcb, pipe, US_BULK_CB_WRAP_LEN, 
 				   &partial);
 	US_DEBUGP("Bulk command transfer result=%d\n", result);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)