Linux Kernels

staging: skein: cleanup: fixed new lines

This change “staging: skein: cleanup: fixed new lines” (commit a28e32e) in Linux kernel is authored by Manu Kumar <maraku [at] gmx.com> on Sun May 1 16:38:32 2016 -0700.

Description of "staging: skein: cleanup: fixed new lines"

The change “staging: skein: cleanup: fixed new lines” introduces changes as follows.

staging: skein: cleanup: fixed new lines

Added lines between functions in skein_block.c and removed unneeded
lines in skein_block.c

Signed-off-by: Manu Kumar <maraku@gmx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Linux kernel releases containing commit a28e32e

The Linux kernel releases containing this commit are as follows.

Linux kernel code changes from "staging: skein: cleanup: fixed new lines"

There are 5 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/staging/skein/skein_api.c   | 1 -
 drivers/staging/skein/skein_block.c | 4 +++-
 2 files changed, 3 insertions(+), 2 deletions(-)
 
diff --git a/drivers/staging/skein/skein_api.c b/drivers/staging/skein/skein_api.c
index 36f849fbba5e..e23cb16958d4 100644
--- a/drivers/staging/skein/skein_api.c
+++ b/drivers/staging/skein/skein_api.c
@@ -165,7 +165,6 @@ int skein_update(struct skein_ctx *ctx, const u8 *msg,
 		break;
 	}
 	return ret;
-
 }
 
 int skein_update_bits(struct skein_ctx *ctx, const u8 *msg,
diff --git a/drivers/staging/skein/skein_block.c b/drivers/staging/skein/skein_block.c
index a1a3c398135d..1155758f9732 100644
--- a/drivers/staging/skein/skein_block.c
+++ b/drivers/staging/skein/skein_block.c
@@ -465,6 +465,7 @@ size_t skein_256_process_block_code_size(void)
 	return ((u8 *) skein_256_process_block_code_size) -
 		((u8 *) skein_256_process_block);
 }
+
 unsigned int skein_256_unroll_cnt(void)
 {
 	return SKEIN_UNROLL_256;
@@ -547,7 +548,6 @@ void skein_512_process_block(struct skein_512_ctx *ctx, const u8 *blk_ptr,
 		for (r = 1;
 			r < (SKEIN_UNROLL_512 ? 2 * RCNT : 2);
 			r += (SKEIN_UNROLL_512 ? 2 * SKEIN_UNROLL_512 : 1)) {
-
 			R512_8_ROUNDS(0);
 
 #if   R512_UNROLL_R(1)
@@ -616,6 +616,7 @@ size_t skein_512_process_block_code_size(void)
 	return ((u8 *) skein_512_process_block_code_size) -
 		((u8 *) skein_512_process_block);
 }
+
 unsigned int skein_512_unroll_cnt(void)
 {
 	return SKEIN_UNROLL_512;
@@ -780,6 +781,7 @@ size_t skein_1024_process_block_code_size(void)
 	return ((u8 *) skein_1024_process_block_code_size) -
 		((u8 *) skein_1024_process_block);
 }
+
 unsigned int skein_1024_unroll_cnt(void)
 {
 	return SKEIN_UNROLL_1024;

The commit for this change in Linux stable tree is a28e32e (patch).

Last modified: 2020/01/11 06:38