Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1727739 > unrolled thread

[PATCH v2] Staging: ccree: ssi_cipher.c: Make comment more comprehensible.

Started bySrishti Sharma <srishtishar@gmail.com>
First post2017-09-06 23:00 +0200
Last post2017-09-06 23:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH v2] Staging: ccree: ssi_cipher.c: Make comment more comprehensible. Srishti Sharma <srishtishar@gmail.com> - 2017-09-06 23:00 +0200

#1727739 — [PATCH v2] Staging: ccree: ssi_cipher.c: Make comment more comprehensible.

FromSrishti Sharma <srishtishar@gmail.com>
Date2017-09-06 23:00 +0200
Subject[PATCH v2] Staging: ccree: ssi_cipher.c: Make comment more comprehensible.
Message-ID<umPAv-6Vc-19@gated-at.bofh.it>
Edited comment to make it more comprehensible.

Signed-off-by: Srishti Sharma <srishtishar@gmail.com>
---
Changes in v2:
 - Make comment more comprehensible , instead of just correcting typos.
 drivers/staging/ccree/ssi_cipher.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/ccree/ssi_cipher.c b/drivers/staging/ccree/ssi_cipher.c
index 99232b2..fec2faa 100644
--- a/drivers/staging/ccree/ssi_cipher.c
+++ b/drivers/staging/ccree/ssi_cipher.c
@@ -702,7 +702,9 @@ static int ssi_blkcipher_complete(struct device *dev,

 	ssi_buffer_mgr_unmap_blkcipher_request(dev, req_ctx, ivsize, src, dst);

-	/*Set the inflight counter value to local variable*/
+	/*
+	 * Save inflight_counter in a local variable.
+	 */
 	inflight_counter =  ctx_p->drvdata->inflight_counter;
 	/*Decrease the inflight counter*/
 	if (ctx_p->flow_mode == BYPASS && ctx_p->drvdata->inflight_counter > 0)
--
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web