X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=crypto%2Fxcbc.c;h=ac68f3b62fde7c533cd1d1faf8c169c313864773;hb=b5677d848cbb94220ac2cfd36d93bcdbe49c3280;hp=9f502b86e0ea563ac04b31fbf96dcd534367e05a;hpb=62ea6d80211ecc88ef516927ecebf64cb505be3f;p=linux-2.6 diff --git a/crypto/xcbc.c b/crypto/xcbc.c index 9f502b86e0..ac68f3b62f 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;