ChangeSet 1.1276.22.28, 2003/08/22 16:12:59-07:00, [EMAIL PROTECTED]
[PATCH] USB: linuxppc-2.5 fixlets for usbtest.c
fix drivers/usb/misc/usbtest.c:438: warning: passing arg 1 of
`__swab32s' from incompatible pointer type by using le16_to_cpus instead
of le32_to_cpus .
drivers/usb/misc/usbtest.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -Nru a/drivers/usb/misc/usbtest.c b/drivers/usb/misc/usbtest.c
--- a/drivers/usb/misc/usbtest.c Tue Sep 2 12:46:26 2003
+++ b/drivers/usb/misc/usbtest.c Tue Sep 2 12:46:26 2003
@@ -435,7 +435,7 @@
return 0;
}
- le32_to_cpus (&config->wTotalLength);
+ le16_to_cpus (&config->wTotalLength);
if (config->wTotalLength == len) /* read it all */
return 1;
return config->wTotalLength >= TBUF_SIZE; /* max partial read */
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel