2014-11-21 00:07:22

by Anjana Sasindran

[permalink] [raw]
Subject: [PATCH] Staging:skein: Fix trailing whitespace error

This patch fixes the checkpatch.pl error:

ERROR: trailing whitespace

Signed-off-by: Anjana Sasindran <[email protected]>
---
drivers/staging/skein/skein_generic.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/staging/skein/skein_generic.c b/drivers/staging/skein/skein_generic.c
index 7096d5a..8660509 100644
--- a/drivers/staging/skein/skein_generic.c
+++ b/drivers/staging/skein/skein_generic.c
@@ -190,6 +190,7 @@ static int __init skein_generic_init(void)
goto unreg512;

return 0;
+
unreg512:
crypto_unregister_shash(&alg512);
unreg256:
--
1.9.1


2014-11-22 18:59:04

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH] Staging:skein: Fix trailing whitespace error

On Fri, Nov 21, 2014 at 05:37:04AM +0530, Anjana Sasindran wrote:
> This patch fixes the checkpatch.pl error:
>
> ERROR: trailing whitespace
>
> Signed-off-by: Anjana Sasindran <[email protected]>
> ---
> drivers/staging/skein/skein_generic.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/staging/skein/skein_generic.c b/drivers/staging/skein/skein_generic.c
> index 7096d5a..8660509 100644
> --- a/drivers/staging/skein/skein_generic.c
> +++ b/drivers/staging/skein/skein_generic.c
> @@ -190,6 +190,7 @@ static int __init skein_generic_init(void)
> goto unreg512;
>
> return 0;
> +
> unreg512:
> crypto_unregister_shash(&alg512);
> unreg256:

Doesn't apply :(