[PATCH V4 09/16] staging: rtsx: use sg helper to operate scatterlist
hch at lst.de
Mon Jun 17 08:27:06 UTC 2019
On Mon, Jun 17, 2019 at 11:03:42AM +0800, Ming Lei wrote:
> Use the scatterlist iterators and remove direct indexing of the
> scatterlist array.
> This way allows us to pre-allocate one small scatterlist, which can be
> chained with one runtime allocated scatterlist if the pre-allocated one
> isn't enough for the whole request.
The scatterlist handling here looks completely bogus, it really
needs to stop using the index and switch to proper sg_next-based
More information about the devel