Skip to content

Commit

Permalink
crypto: ahash - fixed style error in ahash.c
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
hvva authored and herbertx committed Dec 22, 2014
1 parent 267c422 commit b516d51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crypto/ahash.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b516d51

Please sign in to comment.