staging: skein:Add space around '/'
PATCH 1/1 staging: skein:Add space around '/'
Add space around operator '/'. Problem found using checkpatch.pl
CHECK: spaces preferred around that '/' (ctx:VxV)
Signed-off-by Burcin Akalin <[email protected]>
--- drivers/staging/skein/skein_api.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/skein/skein_api.c +3 -3
@@ -51,7 +51,7 @@ int skein_init(struct skein_ctx *ctx, size_t hash_bit_len)* memory available. The beauty of C :-) . */ x = ctx->m.s256.x; - x_len = ctx->skein_size/8 ; + x_len = ctx->skein_size /8 ;/* * If size is the same and hash bit length is zero then reuse * the save chaining variables.
@@ -92,7 +92,7 @@ int skein_mac_init(struct skein_ctx *ctx, const u8 *key, size_t key_len,skein_assert_ret (ctx,SKEIN_FAIL ); x = ctx->m.s256.x; - x_len = ctx->skein_size/8 ; + x_len = ctx->skein_size /8 ;skein_assert_ret (hash_bit_len,SKEIN_BAD_HASHLEN );
@@ -136,7 +136,7 @@ void skein_reset(struct skein_ctx *ctx)* memory available. The beautiy of C :-) . */ x = ctx->m.s256.x; - x_len = ctx->skein_size/8 ; + x_len = ctx->skein_size /8 ;/* Restore the chaing variable, reset byte counter */ memcpy (x, ctx->x_save, x_len);
Signature · 1 line
1.9.1
Quoted 6 lines · Burcin Akalin
Add space around operator '/'. Problem found using checkpatch.pl
CHECK: spaces preferred around that '/' (ctx:VxV)Signed-off-by Burcin Akalin <[email protected]>---
This has already been done by 9efbbfada99c ("skein: fix coding style")
regards
sudip