Commit 0d6e82e7 authored by Linus Torvalds's avatar Linus Torvalds
parents 3abb17e8 9d20b571
...@@ -38,6 +38,7 @@ int s390_sha_update(struct shash_desc *desc, const u8 *data, unsigned int len) ...@@ -38,6 +38,7 @@ int s390_sha_update(struct shash_desc *desc, const u8 *data, unsigned int len)
BUG_ON(ret != bsize); BUG_ON(ret != bsize);
data += bsize - index; data += bsize - index;
len -= bsize - index; len -= bsize - index;
index = 0;
} }
/* process as many blocks as possible */ /* process as many blocks as possible */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment