linux-next: build warning after merge of the crypto tree

From: Stephen Rothwell
Date: Thu Jan 18 2018 - 20:49:48 EST


Hi Herbert,

After merging the crypto tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/crypto/chelsio/chcr_algo.c: In function 'create_authenc_wr':
drivers/crypto/chelsio/chcr_algo.c:2113:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (error)
^~
drivers/crypto/chelsio/chcr_algo.c:2115:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
dnents = sg_nents_xlen(req->dst, assoclen, CHCR_DST_SG_SIZE, 0);
^~~~~~

Introduced by commit

e1a018e607a3 ("crypto: chelsio - Remove dst sg size zero check")

--
Cheers,
Stephen Rothwell