On Tue, Oct 22, 2019 at 04:11:18PM +0800, Yunfeng Ye wrote: > A warning is found by the static code analysis tool: > "Identical condition 'err', second condition is always false" > > Fix this by adding return value of skcipher_walk_done(). > > Fixes: 67cfa5d3b721 ("crypto: arm64/aes-neonbs - implement ciphertext stealing for XTS") > Signed-off-by: Yunfeng Ye <yeyunfeng@xxxxxxxxxx> > Acked-by: Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx> > --- > v2 -> v3: > - add "Acked-by:" > > v1 -> v2: > - update the subject and comment > - add return value of skcipher_walk_done() > > arch/arm64/crypto/aes-neonbs-glue.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt