aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/digest.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/digest.c')
-rw-r--r--crypto/digest.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/digest.c b/crypto/digest.c
index 8871dec8cae7..d3e827a141f1 100644
--- a/crypto/digest.c
+++ b/crypto/digest.c
@@ -21,7 +21,6 @@
21#include <linux/scatterlist.h> 21#include <linux/scatterlist.h>
22 22
23#include "internal.h" 23#include "internal.h"
24#include "scatterwalk.h"
25 24
26static int init(struct hash_desc *desc) 25static int init(struct hash_desc *desc)
27{ 26{
@@ -77,7 +76,7 @@ static int update2(struct hash_desc *desc,
77 76
78 if (!nbytes) 77 if (!nbytes)
79 break; 78 break;
80 sg = scatterwalk_sg_next(sg); 79 sg = sg_next(sg);
81 } 80 }
82 81
83 return 0; 82 return 0;