]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - crypto/digest.c
[MTD] mtd_dataflash: Incorrect compare-after-write check
[linux-2.6-omap-h63xx.git] / crypto / digest.c
index e56de6748b155eadf0f749c801e911a9a2d23577..8871dec8cae7484a1fe34e68966563ad1d6032b9 100644 (file)
@@ -41,7 +41,7 @@ static int update2(struct hash_desc *desc,
                return 0;
 
        for (;;) {
-               struct page *pg = sg->page;
+               struct page *pg = sg_page(sg);
                unsigned int offset = sg->offset;
                unsigned int l = sg->length;