2014-11-22 06:05:06

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 06:23:22

by Sudip Mukherjee

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

On Sat, Nov 22, 2014 at 11:34:29AM +0530, Anjana Sasindran wrote:
> This patch fixes the checkpatch.pl error:
this patch is not applying to next-20141121.
>
> ERROR: trailing whitespace
but your patch is adding a blank line in the code ?

thanks
sudip

>
> 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
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

2014-11-22 18:59:24

by Greg Kroah-Hartman

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

On Sat, Nov 22, 2014 at 11:34:29AM +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:

Still doesn't apply :(