projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crypto: ahash - fixed style error in ahash.c
[firefly-linux-kernel-4.4.55.git]
/
crypto
/
ahash.c
diff --git
a/crypto/ahash.c
b/crypto/ahash.c
index f6a36a52d738b44251deaeaa2dd18ebee39da421..dd2890608aebaaf0ae48848c7a42a49808ca3d85 100644
(file)
--- a/
crypto/ahash.c
+++ b/
crypto/ahash.c
@@
-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;
}