Skip to contentSkip to conversation

skein: checkpatch: trailing whitespace

PATCH In review Andreas Siegling 2 participants 2 messages Dec 29, 2014 – Dec 30, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 skein: checkpatch: trailing whitespace

This small patch will fix the trailing whitespace in drivers/staging/skein/skein_generic.c.

After applying the patch, there will only remain the checkpatch warning:
WARNING: Single statement macros should not use a do {} while (0) loop
in files which are in the directory drivers/staging/skein/

---
 drivers/staging/skein/skein_generic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/skein/skein_generic.c +1 -1
index 85bd7d0..4eaae1d 100644
@@ -191,7 +191,7 @@ static int __init skein_generic_init(void)
 
 	return 0;
 
-		
+
 unreg512:
 	crypto_unregister_shash(&alg512);
 unreg256:
Signature · 1 line
1.9.1
#1 lore raw

Andreas,

Quoted 9 lines · Andreas Siegling

This small patch will fix the trailing whitespace in drivers/staging/skein/skein_generic.c.

After applying the patch, there will only remain the checkpatch warning:
WARNING: Single statement macros should not use a do {} while (0) loop
in files which are in the directory drivers/staging/skein/

Why do you have have two S-o-b's?

Quoted 9 lines
---
 drivers/staging/skein/skein_generic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/skein/skein_generic.c +0 -0
index 85bd7d0..4eaae1d 100644

drivers/staging/skein/skein_generic.c static int __init skein_generic_init(void) · line 194

Quoted 5 lines
drivers/staging/skein/skein_generic.c +1 -1
@@ -191,7 +191,7 @@ static int __init skein_generic_init(void)
 
 	return 0;
 
-		
+

Hmm, this extra line should just be deleted.

thx,

Jason.

Quoted 6 lines
drivers/staging/skein/skein_generic.c +0 -0
 unreg512:
 	crypto_unregister_shash(&alg512);
 unreg256:
Signature · 1 line
1.9.1