Thread (2 messages) 2 messages, 2 authors, 2014-12-05
STALE4246d

[PATCH] staging: crypto: fixed style error in ahash.c

From: Joshua I. James <hidden>
Date: 2014-12-05 05:44:59
Subsystem: crypto api, the rest · Maintainers: Herbert Xu, "David S. Miller", Linus Torvalds

From: "Joshua I. James" <redacted>

Fixed style error identified by checkpatch.

WARNING: Missing a blank line after declarations
+               unsigned int unaligned = alignmask + 1 - (offset & alignmask);
+               if (nbytes > unaligned)

Signed-off-by: Joshua I. James <redacted>
---
 crypto/ahash.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/crypto/ahash.c b/crypto/ahash.c
index f6a36a5..dd28906 100644
--- 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;
 	}
-- 
1.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help