Fixes leading and trailing whitespace issues. Signed-off-by: Eric Rost <eric.rost@xxxxxxxxxxxxx> --- drivers/staging/skein/skein_block.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/staging/skein/skein_block.c b/drivers/staging/skein/skein_block.c index d49709c..71c14f5 100644 --- a/drivers/staging/skein/skein_block.c +++ b/drivers/staging/skein/skein_block.c @@ -36,7 +36,7 @@ #define debug_save_tweak(ctx) \ { \ ctx->h.tweak[0] = ts[0]; \ - ctx->h.tweak[1] = ts[1]; \ + ctx->h.tweak[1] = ts[1]; \ } #else #define debug_save_tweak(ctx) @@ -139,7 +139,7 @@ do { \ X3 += ks[((R) + 4) % 5] + (R) + 1; \ skein_show_r_ptr(BLK_BITS, &ctx->h, SKEIN_RND_KEY_INJECT, X_ptr); \ } while (0) -#else +#else /* looping version */ #define R256(p0, p1, p2, p3, ROT, r_num) \ do { \ @@ -531,20 +531,20 @@ void skein_1024_process_block(struct skein_1024_ctx *ctx, const u8 *blk_ptr, #ifdef SKEIN_DEBUG const u64 *X_ptr[16]; /* use for debugging (help cc put Xn in regs) */ - X_ptr[0] = &X00; - X_ptr[1] = &X01; + X_ptr[0] = &X00; + X_ptr[1] = &X01; X_ptr[2] = &X02; - X_ptr[3] = &X03; - X_ptr[4] = &X04; + X_ptr[3] = &X03; + X_ptr[4] = &X04; X_ptr[5] = &X05; - X_ptr[6] = &X06; - X_ptr[7] = &X07; + X_ptr[6] = &X06; + X_ptr[7] = &X07; X_ptr[8] = &X08; - X_ptr[9] = &X09; - X_ptr[10] = &X10; + X_ptr[9] = &X09; + X_ptr[10] = &X10; X_ptr[11] = &X11; - X_ptr[12] = &X12; - X_ptr[13] = &X13; + X_ptr[12] = &X12; + X_ptr[13] = &X13; X_ptr[14] = &X14; X_ptr[15] = &X15; #endif @@ -589,7 +589,7 @@ void skein_1024_process_block(struct skein_1024_ctx *ctx, const u8 *blk_ptr, skein_show_block(BLK_BITS, &ctx->h, ctx->x, blk_ptr, w, ks, ts); /* do the first full key injection */ - X00 = w[0] + ks[0]; + X00 = w[0] + ks[0]; X01 = w[1] + ks[1]; X02 = w[2] + ks[2]; X03 = w[3] + ks[3]; @@ -614,7 +614,7 @@ void skein_1024_process_block(struct skein_1024_ctx *ctx, const u8 *blk_ptr, do { \ X##p0 += X##p1; \ X##p1 = rotl_64(X##p1, ROT##_0); \ - X##p1 ^= X##p0; \ + X##p1 ^= X##p0; \ X##p2 += X##p3; \ X##p3 = rotl_64(X##p3, ROT##_1); \ X##p3 ^= X##p2; \ -- 1.7.10.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel