diff options
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/omap-sham.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c index 21fd515068c5..4d63e0d4da9a 100644 --- a/drivers/crypto/omap-sham.c +++ b/drivers/crypto/omap-sham.c | |||
@@ -640,6 +640,7 @@ static size_t omap_sham_append_sg(struct omap_sham_reqctx *ctx) | |||
640 | 640 | ||
641 | while (ctx->sg) { | 641 | while (ctx->sg) { |
642 | vaddr = kmap_atomic(sg_page(ctx->sg)); | 642 | vaddr = kmap_atomic(sg_page(ctx->sg)); |
643 | vaddr += ctx->sg->offset; | ||
643 | 644 | ||
644 | count = omap_sham_append_buffer(ctx, | 645 | count = omap_sham_append_buffer(ctx, |
645 | vaddr + ctx->offset, | 646 | vaddr + ctx->offset, |