Skip to contentSkip to conversation

staging: unisys: Removed a prohibited space in a function parameter

PATCH In review Olli Lehtinen 2 participants 2 messages Dec 23, 2014 – Jan 10, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: unisys: Removed a prohibited space in a function parameter

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

---
 drivers/staging/unisys/virthba/virthba.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/unisys/virthba/virthba.c +1 -1
index d7a629b..82fcb3b 100644
@@ -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>>",
Signature · 1 line
1.7.10.4
maintainer
#1 lore raw
Quoted 24 lines · Olli Lehtinen

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

---
 drivers/staging/unisys/virthba/virthba.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/unisys/virthba/virthba.c +1 -1
index d7a629b..82fcb3b 100644
@@ -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>>",
Signature · 1 line
1.7.10.4

This patch fails to apply for some reason :(

Please fix it up and resend.

greg k-h