crypto: don't pollute the global namespace with sg_next()
[safe/jmp/linux-2.6] / crypto / digest.c
index 1bf7414..e56de67 100644 (file)
@@ -77,7 +77,7 @@ static int update2(struct hash_desc *desc,
 
                if (!nbytes)
                        break;
-               sg = sg_next(sg);
+               sg = scatterwalk_sg_next(sg);
        }
 
        return 0;