Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1202860 > unrolled thread

[PATCH 5/6] crypto/omap-sham: remove an open coded access to ->page_link

Started byChristoph Hellwig <hch@lst.de>
First post2015-08-07 18:20 +0200
Last post2015-08-10 09:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 5/6] crypto/omap-sham: remove an open coded access to ->page_link Christoph Hellwig <hch@lst.de> - 2015-08-07 18:20 +0200
    Re: [PATCH 5/6] crypto/omap-sham: remove an open coded access to  ->page_link Herbert Xu <herbert@gondor.apana.org.au> - 2015-08-10 09:40 +0200

#1202860 — [PATCH 5/6] crypto/omap-sham: remove an open coded access to ->page_link

FromChristoph Hellwig <hch@lst.de>
Date2015-08-07 18:20 +0200
Subject[PATCH 5/6] crypto/omap-sham: remove an open coded access to ->page_link
Message-ID<pUSxc-4FO-13@gated-at.bofh.it>
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>
---
 drivers/crypto/omap-sham.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c
index b2024c95..48adb2a 100644
--- a/drivers/crypto/omap-sham.c
+++ b/drivers/crypto/omap-sham.c
@@ -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);
-- 
1.9.1

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

[toc] | [next] | [standalone]


#1203859 — Re: [PATCH 5/6] crypto/omap-sham: remove an open coded access to ->page_link

FromHerbert Xu <herbert@gondor.apana.org.au>
Date2015-08-10 09:40 +0200
SubjectRe: [PATCH 5/6] crypto/omap-sham: remove an open coded access to ->page_link
Message-ID<pVPQC-7HK-19@gated-at.bofh.it>
In reply to#1202860
On Fri, Aug 07, 2015 at 06:15:15PM +0200, Christoph Hellwig wrote:
> 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>
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web