patch-2.3.99-pre6 linux/drivers/usb/usb-ohci.c

Next file: linux/drivers/usb/usb-storage.c
Previous file: linux/drivers/usb/usb-core.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/drivers/usb/usb-ohci.c linux/drivers/usb/usb-ohci.c
@@ -1555,7 +1555,7 @@
 					data_buf = root_hub_config_des; OK(len);
 				case (0x03): /* string descriptors */
 					len = usb_root_hub_string (wValue & 0xff,
-						(int) ohci->regs, "OHCI",
+						(int)(long) ohci->regs, "OHCI",
 						data, wLength);
 					if (len > 0) {
 						data_buf = data;

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