ChangeSet 1.2173, 2004/12/09 12:40:44-08:00, [EMAIL PROTECTED]
USB: fix sparse warnings in sl811-hcd driver.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
drivers/usb/host/sl811-hcd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -Nru a/drivers/usb/host/sl811-hcd.c b/drivers/usb/host/sl811-hcd.c
--- a/drivers/usb/host/sl811-hcd.c 2004-12-09 14:54:00 -08:00
+++ b/drivers/usb/host/sl811-hcd.c 2004-12-09 14:54:00 -08:00
@@ -577,7 +577,7 @@
urb->status = urbstat;
spin_unlock(&urb->lock);
- req = 0;
+ req = NULL;
ep->nextpid = USB_PID_ACK;
}
break;
@@ -1151,7 +1151,7 @@
/* no overcurrent errors detection/handling */
temp |= 0x0010;
- desc->wHubCharacteristics = cpu_to_le16(temp);
+ desc->wHubCharacteristics = (__force __u16)cpu_to_le16(temp);
/* two bitmaps: ports removable, and legacy PortPwrCtrlMask */
desc->bitmap[0] = 1 << 1;
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel