summaryrefslogtreecommitdiff
path: root/crypto/xcbc.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2007-10-22 19:40:16 +0200
committerJens Axboe <jens.axboe@oracle.com>2007-10-22 19:40:16 +0200
commit78c2f0b8c285c5305b3e67b0595200541e15eb43 (patch)
tree6537a046641e9a3dba3f4735b42d7f04e60e29f8 /crypto/xcbc.c
parent9b61764bcb4360e04386f0415a01da8271631004 (diff)
downloadkernel-common-78c2f0b8c285c5305b3e67b0595200541e15eb43.tar.gz
kernel-common-78c2f0b8c285c5305b3e67b0595200541e15eb43.tar.bz2
kernel-common-78c2f0b8c285c5305b3e67b0595200541e15eb43.zip
[SG] Update crypto/ to sg helpers
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'crypto/xcbc.c')
-rw-r--r--crypto/xcbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/xcbc.c b/crypto/xcbc.c
index 9f502b86e0ea..ac68f3b62fde 100644
--- a/crypto/xcbc.c
+++ b/crypto/xcbc.c
@@ -120,7 +120,7 @@ static int crypto_xcbc_digest_update2(struct hash_desc *pdesc,
do {
- struct page *pg = sg[i].page;
+ struct page *pg = sg_page(&sg[i]);
unsigned int offset = sg[i].offset;
unsigned int slen = sg[i].length;