[PATCH] Re: usb mass storage fails in 2.5.18

Andries.Brouwer@cwi.nl
Mon, 27 May 2002 00:57:56 +0200 (MEST)


In 2.5.16 - 2.5.18 there is one bad bug in usb-storage
fixed by the 1-char patch below. Other things are wrong,
but try this first.

Andries

--- /linux/2.5/linux-2.5.18/linux/drivers/usb/storage/transport.c Tue May
21 07:07:37 2002
+++ /linux/2.5/linux-2.5.18a/linux/drivers/usb/storage/transport.c Sun May
26 00:32:48 2002
@@ -430,7 +430,7 @@

/* fill the URB */
FILL_CONTROL_URB(us->current_urb, us->pusb_dev, pipe,
- (unsigned char*) &dr, data, size,
+ (unsigned char*) dr, data, size,
usb_stor_blocking_completion, NULL);

/* submit the URB */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/