Re: [PATCH 30/33] USB storage: sg chaining support



On Tue, Jul 17, 2007 at 09:01:02AM +0200, Jens Axboe wrote:
On Mon, Jul 16 2007, Greg KH wrote:
On Mon, Jul 16, 2007 at 11:47:44AM +0200, Jens Axboe wrote:
[PATCH] USB storage: sg chaining support

Modify usb_stor_access_xfer_buf() to take a pointer to an sg
entry pointer, so we can keep track of that instead of passing
around an integer index (which we can't use when dealing with
multiple scatterlist arrays).

Cc: greg@xxxxxxxxx
Signed-off-by: Jens Axboe <jens.axboe@xxxxxxxxxx>

No objection from me, I'm guessing this needs to go through the scsi
tree?

Yes it will, I just want to make sure that the relevant people have seen
(and preferably acked them :) the changes before they go in eventually.

You might want to pass this one by the usb-storage developer to make
sure.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [PATCH 30/33] USB storage: sg chaining support
    ... so we can keep track of that instead of passing ... around an integer index (which we can't use when dealing with ... multiple scatterlist arrays). ...
    (Linux-Kernel)
  • Re: why cannot assign to function call
    ... and passing the array by reference? ... void mysub (int k, int n) { ... say C was definitely pass-by-reference (for arrays)? ... If one could only use v as a pointer (i.e. access ...
    (comp.lang.python)
  • memset vs fill and iterators vs pointers
    ... dealing with arrays, and, so-far haven't used the STL very much ... when dealing with POD. ... puts the file data into a 32-bit array, then offers both 32-bit and char* to ...
    (comp.lang.cpp)
  • Re: passing array to function to pick up values
    ... passing around arrays. ... > Hi Birgit, ... > Dim bRes As Boolean ...
    (microsoft.public.word.vba.general)
  • Re: passing char arrays by reference
    ... Et voila - not just one, but two arrays being passed by value. ... Yes, yes, very good - except that what you're really passing by ... are being passed as much by value as the struct itself. ... I, your host for tonight's annual Mental Inflexibility Awards 2008, am in ...
    (comp.lang.c)