All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Derek Robson <robsonde@gmail.com>
Cc: gilad@benyossef.com, devel@driverdev.osuosl.org,
	driverdev-devel@linuxdriverproject.org,
	linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 12/27] Drivers: ccree: ssi_fips_ll.c - align block comments
Date: Mon, 29 May 2017 16:53:38 +0200	[thread overview]
Message-ID: <20170529145338.GA32447@kroah.com> (raw)
In-Reply-To: <20170524044352.30423-1-robsonde@gmail.com>

On Wed, May 24, 2017 at 04:43:52PM +1200, Derek Robson wrote:
> Fixed block comment alignment, Style fix only
> Found using checkpatch
> 
> Signed-off-by: Derek Robson <robsonde@gmail.com>
> ---
>  drivers/staging/ccree/ssi_fips_ll.c | 21 ++++++++++++---------
>  1 file changed, 12 insertions(+), 9 deletions(-)
> 
> diff --git a/drivers/staging/ccree/ssi_fips_ll.c b/drivers/staging/ccree/ssi_fips_ll.c
> index 7c7c922f0788..cb487d747ee8 100644
> --- a/drivers/staging/ccree/ssi_fips_ll.c
> +++ b/drivers/staging/ccree/ssi_fips_ll.c
> @@ -15,9 +15,9 @@
>   */
>  
>  /**************************************************************
> -This file defines the driver FIPS Low Level implmentaion functions,
> -that executes the KAT.
> -***************************************************************/
> + * This file defines the driver FIPS Low Level implmentaion functions,
> + * that executes the KAT.
> + ***************************************************************/
>  #include <linux/kernel.h>
>  
>  #include "ssi_driver.h"
> @@ -816,7 +816,8 @@ ssi_hmac_fips_run_test(struct ssi_drvdata *drvdata,
>  		       dma_addr_t digest_bytes_len_dma_addr)
>  {
>  	/* The implemented flow is not the same as the one implemented in ssi_hash.c (setkey + digest flows).
> -	   In this flow, there is no need to store and reload some of the intermidiate results. */
> +	 * In this flow, there is no need to store and reload some of the intermidiate results.
> +	 */
>  
>  	/* max number of descriptors used for the flow */
>  	#define FIPS_HMAC_MAX_SEQ_LEN 12
> @@ -948,9 +949,9 @@ ssi_hmac_fips_run_test(struct ssi_drvdata *drvdata,
>  	idx++;
>  
>  	/* at this point:
> -	   tmp_digest = H(o_key_pad)
> -	   k0 = H(i_key_pad || m)
> -	   */
> +	 * tmp_digest = H(o_key_pad)
> +	 * k0 = H(i_key_pad || m)
> +	 */
>  
>  	/* Loading hash opad xor key state */
>  	HW_DESC_INIT(&desc[idx]);
> @@ -1413,8 +1414,10 @@ ssi_gcm_fips_run_test(struct ssi_drvdata *drvdata,
>  	idx++;
>  
>  	/* Configure Hash Engine to work with GHASH.
> -	   Since it was not possible to extend HASH submodes to add GHASH,
> -	   The following command is necessary in order to select GHASH (according to HW designers)*/
> +	 * Since it was not possible to extend HASH submodes to add GHASH,
> +	 * The following command is necessary in order to 

You added a coding style issue that was not previously here in this
patch, which isn't ok :(

I've stopped here with this series, please fix up the reset of this
series (hint, this wasn't the only place you messed this up) and resend.

thanks,

greg k-h

      reply	other threads:[~2017-05-29 15:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-24  4:43 [PATCH 12/27] Drivers: ccree: ssi_fips_ll.c - align block comments Derek Robson
2017-05-24  4:43 ` Derek Robson
2017-05-29 14:53 ` Greg KH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170529145338.GA32447@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=devel@driverdev.osuosl.org \
    --cc=driverdev-devel@linuxdriverproject.org \
    --cc=gilad@benyossef.com \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robsonde@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.