All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: unisys: Removed a prohibited space in a function parameter
@ 2014-12-23 10:51 Olli Lehtinen
  2015-01-10  1:42 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Olli Lehtinen @ 2014-12-23 10:51 UTC (permalink / raw)
  To: gregkh, jkc; +Cc: sparmaintainer, linux-kernel

Fixes the checkpatch.pl error:
ERROR: space prohibited before that ',' (ctx:WxW)" in virthba.c.

Signed-off-by: Olli Lehtinen <olli.lehtinen@iki.fi>
---
  drivers/staging/unisys/virthba/virthba.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/unisys/virthba/virthba.c 
b/drivers/staging/unisys/virthba/virthba.c
index d7a629b..82fcb3b 100644
--- a/drivers/staging/unisys/virthba/virthba.c
+++ b/drivers/staging/unisys/virthba/virthba.c
@@ -1438,7 +1438,7 @@ static ssize_t enable_ints_write(struct file 
*file,
  		return -EFAULT;
  	}

-	i = kstrtoint(buf, 10 , &new_value);
+	i = kstrtoint(buf, 10, &new_value);

  	if (i != 0) {
  		LOGERR("Failed to scan value for enable_ints, buf<<%.*s>>",
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: unisys: Removed a prohibited space in a function parameter
  2014-12-23 10:51 [PATCH] staging: unisys: Removed a prohibited space in a function parameter Olli Lehtinen
@ 2015-01-10  1:42 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2015-01-10  1:42 UTC (permalink / raw)
  To: Olli Lehtinen; +Cc: jkc, sparmaintainer, linux-kernel

On Tue, Dec 23, 2014 at 12:51:55PM +0200, Olli Lehtinen wrote:
> Fixes the checkpatch.pl error:
> ERROR: space prohibited before that ',' (ctx:WxW)" in virthba.c.
> 
> Signed-off-by: Olli Lehtinen <olli.lehtinen@iki.fi>
> ---
>  drivers/staging/unisys/virthba/virthba.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/unisys/virthba/virthba.c
> b/drivers/staging/unisys/virthba/virthba.c
> index d7a629b..82fcb3b 100644
> --- a/drivers/staging/unisys/virthba/virthba.c
> +++ b/drivers/staging/unisys/virthba/virthba.c
> @@ -1438,7 +1438,7 @@ static ssize_t enable_ints_write(struct file *file,
> 		return -EFAULT;
> 	}
> 
> -	i = kstrtoint(buf, 10 , &new_value);
> +	i = kstrtoint(buf, 10, &new_value);
> 
> 	if (i != 0) {
> 		LOGERR("Failed to scan value for enable_ints, buf<<%.*s>>",
> -- 
> 1.7.10.4

This patch fails to apply for some reason :(

Please fix it up and resend.

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-10  1:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-23 10:51 [PATCH] staging: unisys: Removed a prohibited space in a function parameter Olli Lehtinen
2015-01-10  1:42 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.