mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jason Cooper <jason@lakedaemon.net>
To: Mike Roocroft <mike.linux@btinternet.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Staging: Skein: skein_block: fixed 3 tab coding style isses
Date: Wed, 24 Sep 2014 15:27:13 -0400	[thread overview]
Message-ID: <20140924192712.GM23926@titan.lakedaemon.net> (raw)
In-Reply-To: <1411425935-867-1-git-send-email-mike.linux@btinternet.com>

Mike,

On Mon, Sep 22, 2014 at 11:45:35PM +0100, Mike Roocroft wrote:
> Fixed a coding style issue
> 
> Signed-off-by: Mike Roocroft <mike.linux@btinternet.com>
> ---
>  drivers/staging/skein/skein_block.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/staging/skein/skein_block.c b/drivers/staging/skein/skein_block.c
> index 04ce1d0..b969fe1 100644
> --- a/drivers/staging/skein/skein_block.c
> +++ b/drivers/staging/skein/skein_block.c
> @@ -34,7 +34,7 @@
>  
>  #ifdef SKEIN_DEBUG
>  #define debug_save_tweak(ctx) { \
> -                        ctx->h.tweak[0] = ts[0]; ctx->h.tweak[1] = ts[1]; }
> +			ctx->h.tweak[0] = ts[0]; ctx->h.tweak[1] = ts[1]; }

hmm, yes.  I somehow missed this during my original cleanup.

>  #else
>  #define debug_save_tweak(ctx)
>  #endif
> @@ -378,7 +378,7 @@ do { \
>  	skein_show_r_ptr(BLK_BITS, &ctx->h, SKEIN_RND_KEY_INJECT, X_ptr); \
>  } while (0)
>  
> -		for (r = 1; r < 2 * RCNT; r += 2 * SKEIN_UNROLL_512)
> +	for (r = 1; r < 2 * RCNT; r += 2 * SKEIN_UNROLL_512)
>  #endif /* end of looped code definitions */
>  		{
>  #define R512_8_ROUNDS(R)  /* do 8 full rounds */  \
> @@ -657,7 +657,7 @@ do { \
>  	skein_show_r_ptr(BLK_BITSi, &ctx->h, SKEIN_RND_KEY_INJECT, X_ptr); \
>  } while (0)
>  
> -		for (r = 1; r <= 2 * RCNT; r += 2 * SKEIN_UNROLL_1024)
> +	for (r = 1; r <= 2 * RCNT; r += 2 * SKEIN_UNROLL_1024)
>  #endif
>  		{
>  #define R1024_8_ROUNDS(R) \

ugghh.  These two changes are conceptually fine, but they have reminded
me that I need to completely rework this macro hell.

At any rate, the patch itself is fine for the staging tree.

Please re-send with my:

Acked-by: Jason Cooper <jason@lakedaemon.net>

Make sure to include the staging ml and gregkh on the resend.

thx,

Jason.

       reply	other threads:[~2014-09-24 19:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1411425935-867-1-git-send-email-mike.linux@btinternet.com>
2014-09-24 19:27 ` Jason Cooper [this message]
2014-09-20 23:27 Mike Roocroft
2014-09-24  6:41 ` Greg KH

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=20140924192712.GM23926@titan.lakedaemon.net \
    --to=jason@lakedaemon.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mike.linux@btinternet.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®