Skip to contentSkip to conversation

Staging: sm750fb: Remove space before paranthesis

PATCH In review Amitoj Kaur Chawla 3 participants 3 messages Oct 4, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Staging: sm750fb: Remove space before paranthesis

Remove space before paranthesis ')'. Problem found using checkpatch.pl
ERROR: space prohibited before that close parenthesis ')'

---
Changes in v2:
- Correct the commit message

 drivers/staging/sm750fb/ddk750_chip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/sm750fb/ddk750_chip.c +1 -1
index 1683b3d..665238c 100644
@@ -268,7 +268,7 @@ int ddk750_initHw(initchip_param_t *pInitParam)
 #endif
 
 
-	if (pInitParam->powerMode != 0 )
+	if (pInitParam->powerMode != 0)
 		pInitParam->powerMode = 0;
 	setPowerMode(pInitParam->powerMode);
 
Signature · 1 line
1.9.1
maintainer
#1 lore raw
Quoted 8 lines · Amitoj Kaur Chawla

Remove space before paranthesis ')'. Problem found using checkpatch.pl
ERROR: space prohibited before that close parenthesis ')'

---
Changes in v2:
- Correct the commit message

You just sent v2 _before_ you sent v1?

And both of them don't apply to my tree, what is going on here?

totally confused,

greg k-h

#2 lore raw
In reply to Amitoj Kaur Chawla
Quoted 8 lines · Amitoj Kaur Chawla

Remove space before paranthesis ')'. Problem found using checkpatch.pl
ERROR: space prohibited before that close parenthesis ')'

---
Changes in v2:
- Correct the commit message

Looks better, thanks.

julia

Quoted 27 lines
 drivers/staging/sm750fb/ddk750_chip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/sm750fb/ddk750_chip.c +1 -1
index 1683b3d..665238c 100644
@@ -268,7 +268,7 @@ int ddk750_initHw(initchip_param_t *pInitParam)
 #endif
 
 
-	if (pInitParam->powerMode != 0 )
+	if (pInitParam->powerMode != 0)
 		pInitParam->powerMode = 0;
 	setPowerMode(pInitParam->powerMode);
 
Signature · 8 lines
1.9.1

-- 
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20151004094242.GA4089%40amitoj-Inspiron-3542.
For more options, visit https://groups.google.com/d/optout.