mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
crypto/omap-sham: remove an open coded access to ->page_link
Signed-off-by: Dan Williams <dan.j.williams@intel.com> [hch: split from a larger patch by Dan] Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
parent
da81ed16bd
commit
89e2a8404e
@ -588,7 +588,7 @@ static int omap_sham_xmit_dma(struct omap_sham_dev *dd, dma_addr_t dma_addr,
|
||||
* the dmaengine may try to DMA the incorrect amount of data.
|
||||
*/
|
||||
sg_init_table(&ctx->sgl, 1);
|
||||
ctx->sgl.page_link = ctx->sg->page_link;
|
||||
sg_assign_page(&ctx->sgl, sg_page(ctx->sg));
|
||||
ctx->sgl.offset = ctx->sg->offset;
|
||||
sg_dma_len(&ctx->sgl) = len32;
|
||||
sg_dma_address(&ctx->sgl) = sg_dma_address(ctx->sg);
|
||||
|
Loading…
Reference in New Issue
Block a user