On Mon, Dec 11, 2017 at 08:49:57AM +0100, Antoine Tenart wrote:
So this patch is indeed fixing an issue, which should probably not be
there in the first place. I guess you recommend using a buffer local to
the driver instead, and only update areq->request on completion (final).
That's one way to do it. Ideally you'd only use the local buffer
for the non-final case so that the final case just does the DMA to
the final destination.
Cheers,
--
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt