Not applied to 2.6.0-test11, why ?

> Greg, this is another 2.5/6 patch -- please apply.
> 
> As with the last two, the description is below.
> 
> Matt
> 
> ----- Forwarded message from Alan Stern <[EMAIL PROTECTED]> -----
> 
> Date: Fri, 24 Oct 2003 15:38:25 -0400 (EDT)
> From: Alan Stern <[EMAIL PROTECTED]>
> Subject: PATCH: (as120) Fix logic error in raw_bulk.c:us_copy_to_sgbuf()
> To: Matthew Dharm <[EMAIL PROTECTED]>
> cc: USB Storage List <[EMAIL PROTECTED]>
> X-Spam-Status: No, hits=-5.0 required=5.0 tests=UNIFIED_PATCH version=2.11
> 
> Matt:
> 
> This patch fixes a simple logic error in the routine that copies data from 
> a driver buffer to a scatter-gather user buffer.
> 
> Alan Stern
> 
> 
> ===== raw_bulk.c 1.13 vs edited =====
> --- 1.13/drivers/usb/storage/raw_bulk.c       Mon Nov 18 13:52:32 2002
> +++ edited/drivers/usb/storage/raw_bulk.c     Fri Oct 24 15:35:52 2003
> @@ -96,7 +96,7 @@
>                       length = room;
>               
>               memcpy(ptr, buffer+transferred, length);
> -             transferred += sg[i].length;
> +             transferred += length;
>               *offset += length;
>               if (length == room) {
>                       i++;
 

AOL




-------------------------------------------------------
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to