Hello.
On 13-12-2011 1:05, Sebastian Andrzej Siewior wrote:
index ab8f1b4..bfba4aa 100644
--- a/drivers/usb/gadget/dummy_hcd.c
+++ b/drivers/usb/gadget/dummy_hcd.c
@@ -1140,6 +1140,23 @@ static int dummy_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
return rc;
}
+static int dummy_perform_transfer(struct urb *urb, struct dummy_request *req,
+ u32 len)
+{
+ void *ubuf, *rbuf;
+ int to_host;
+
+ to_host = usb_pipein(urb->pipe);
+ rbuf = req->req.buf + req->req.actual;
+ ubuf = urb->transfer_buffer += urb->actual_length;
-----------------------------^
Somehow + got changed to +=. Same thing appeared in the next patch.
Thanks. The compiler did not complain
Why would it complain on a perfectly valid C code? :-)
WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html