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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 05, 2014 at 02:44:54PM +0900, Joshua I. James wrote:
> From: "Joshua I. James" <joshua@xxxxxxxxxxxxxxxxxx>
> 
> 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 <joshua@xxxxxxxxxxxxxxxxxx>
> ---
>  crypto/ahash.c | 1 +
>  1 file changed, 1 insertion(+)

Same comment as the third patch.

thx,

Jason.

> 
> 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
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux