aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarsh Jain <harsh@chelsio.com>2018-01-19 00:39:58 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2018-01-19 15:49:28 -0500
commit5abc8db013174ef6022bf7af81adf210c54e4549 (patch)
tree5538035fe4836011c1d55c6e7a6bd354de7397ca
parent20b04c02bcb2d1e6a642bbe9e759157bb198499e (diff)
crypto: chelsio - Fix indentation warning
Fix Warning introduced in changeset e1a018e607a3 ("crypto: chelsio - Remove dst sg size zero check") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Harsh Jain <harsh@chelsio.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--drivers/crypto/chelsio/chcr_algo.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/crypto/chelsio/chcr_algo.c b/drivers/crypto/chelsio/chcr_algo.c
index a9c894bf9c01..34a02d690548 100644
--- a/drivers/crypto/chelsio/chcr_algo.c
+++ b/drivers/crypto/chelsio/chcr_algo.c
@@ -2112,11 +2112,11 @@ static struct sk_buff *create_authenc_wr(struct aead_request *req,
2112 error = chcr_aead_common_init(req, op_type); 2112 error = chcr_aead_common_init(req, op_type);
2113 if (error) 2113 if (error)
2114 return ERR_PTR(error); 2114 return ERR_PTR(error);
2115 dnents = sg_nents_xlen(req->dst, assoclen, CHCR_DST_SG_SIZE, 0); 2115 dnents = sg_nents_xlen(req->dst, assoclen, CHCR_DST_SG_SIZE, 0);
2116 dnents += sg_nents_xlen(req->dst, req->cryptlen + 2116 dnents += sg_nents_xlen(req->dst, req->cryptlen +
2117 (op_type ? -authsize : authsize), CHCR_DST_SG_SIZE, 2117 (op_type ? -authsize : authsize), CHCR_DST_SG_SIZE,
2118 req->assoclen); 2118 req->assoclen);
2119 dnents += MIN_AUTH_SG; // For IV 2119 dnents += MIN_AUTH_SG; // For IV
2120 2120
2121 dst_size = get_space_for_phys_dsgl(dnents); 2121 dst_size = get_space_for_phys_dsgl(dnents);
2122 kctx_len = (ntohl(KEY_CONTEXT_CTX_LEN_V(aeadctx->key_ctx_hdr)) << 4) 2122 kctx_len = (ntohl(KEY_CONTEXT_CTX_LEN_V(aeadctx->key_ctx_hdr)) << 4)