Skip to contentSkip to conversation

Staging: ccree: cc_crypto_ctx.h: Fixed a comment coding style issue.

PATCH In review srishti sharma 2 participants 2 messages May 31, 2017 – Jun 3, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: ccree: cc_crypto_ctx.h: Fixed a comment coding style issue.

Fixed a comment coding style issue that generated a warning stating that block comments should align the * on each line.

---
 drivers/staging/ccree/cc_crypto_ctx.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/staging/ccree/cc_crypto_ctx.h +4 -4
index c5784bc..38f6615 100644
@@ -239,10 +239,10 @@ struct drv_ctx_cipher {
 	enum drv_crypto_padding_type padding_type;
 	u32 key_size; /* numeric value in bytes   */
 	u32 data_unit_size; /* required for XTS */
-	/* block_state is the AES engine block state.
-	*  It is used by the host to pass IV or counter at initialization.
-	*  It is used by SeP for intermediate block chaining state and for
-	*  returning MAC algorithms results.           */
+	/*  block_state is the AES engine block state.
+	 *  It is used by the host to pass IV or counter at initialization.
+	 *  It is used by SeP for intermediate block chaining state and for
+	 *  returning MAC algorithms results.           */
 	u8 block_state[CC_AES_BLOCK_SIZE];
 	u8 key[CC_AES_KEY_SIZE_MAX];
 	u8 xex_key[CC_AES_KEY_SIZE_MAX];

2.7.4

maintainer
#1 lore raw
Quoted 2 lines · srishti sharma

Fixed a comment coding style issue that generated a warning stating that block comments should align the * on each line.

Please properly line-wrap your changelog comments :(

You also sent 2 different patches, that did different things, yet they had the same subject line. That's not ok, and also, I have no idea which one to apply first.

I'm dropping both, please fix and resend them properly as a patch series.

thanks,

greg k-h