block: kmemleak: Track the page allocations for struct request
[cascardo/linux.git] / crypto / ahash.c
index f6a36a5..8acb886 100644 (file)
@@ -55,6 +55,7 @@ static int hash_walk_next(struct crypto_hash_walk *walk)
 
        if (offset & alignmask) {
                unsigned int unaligned = alignmask + 1 - (offset & alignmask);
+
                if (nbytes > unaligned)
                        nbytes = unaligned;
        }
@@ -120,7 +121,7 @@ int crypto_hash_walk_done(struct crypto_hash_walk *walk, int err)
        if (!walk->total)
                return 0;
 
-       walk->sg = scatterwalk_sg_next(walk->sg);
+       walk->sg = sg_next(walk->sg);
 
        return hash_walk_new_entry(walk);
 }