Thread (19 messages) 19 messages, 10 authors, 2016-07-18

Re: [patch] crypto: sha256-mb - cleanup a || vs | typo

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2016-07-11 10:12:04
Also in: kernel-janitors, lkml

On Fri, Jul 08, 2016 at 09:28:03AM -0700, Tim Chen wrote:
From: Tim Chen <redacted>
Subject: [PATCH] crypto: Cleanup sha multi-buffer code to use || instead of |
 for condition comparison and cleanup multiline comment style

In sha*_ctx_mgr_submit, we currently use the | operator instead of ||
((ctx->partial_block_buffer_length) | (len < SHA1_BLOCK_SIZE))

Switching it to || and remove extraneous paranthesis to
adhere to coding style.

Also cleanup inconsistent multiline comment style.

Signed-off-by: Tim Chen <redacted>
Patch applied.  Thanks.
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help