Skip to contentSkip to conversation

Staging: line6: remove spaces before commas.

PATCH In review Jonas Lundqvist 3 participants 6 messages Dec 28, 2014 – Dec 29, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: line6: remove spaces before commas.

Fixed three errors in pcm.h found by checkpatch.pl.

---
 drivers/staging/line6/pcm.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/line6/pcm.h +3 -3
index 6aa0d46..5d87934 100644
@@ -145,21 +145,21 @@ enum {
 	    LINE6_BIT_PCM_IMPULSE_PLAYBACK_BUFFER |
 #endif
 	    LINE6_BIT_PCM_ALSA_PLAYBACK_BUFFER |
-	    LINE6_BIT_PCM_MONITOR_PLAYBACK_BUFFER ,
+	    LINE6_BIT_PCM_MONITOR_PLAYBACK_BUFFER,
 
 	LINE6_BITS_PLAYBACK_STREAM =
 #ifdef CONFIG_LINE6_USB_IMPULSE_RESPONSE
 	    LINE6_BIT_PCM_IMPULSE_PLAYBACK_STREAM |
 #endif
 	    LINE6_BIT_PCM_ALSA_PLAYBACK_STREAM |
-	    LINE6_BIT_PCM_MONITOR_PLAYBACK_STREAM ,
+	    LINE6_BIT_PCM_MONITOR_PLAYBACK_STREAM,
 
 	LINE6_BITS_CAPTURE_BUFFER =
 #ifdef CONFIG_LINE6_USB_IMPULSE_RESPONSE
 	    LINE6_BIT_PCM_IMPULSE_CAPTURE_BUFFER |
 #endif
 	    LINE6_BIT_PCM_ALSA_CAPTURE_BUFFER |
-	    LINE6_BIT_PCM_MONITOR_CAPTURE_BUFFER ,
+	    LINE6_BIT_PCM_MONITOR_CAPTURE_BUFFER,
 
 	LINE6_BITS_CAPTURE_STREAM =
 #ifdef CONFIG_LINE6_USB_IMPULSE_RESPONSE
Signature · 1 line
2.1.4
#1 lore raw

Jonas,

Quoted 1 line · Jonas Lundqvist

Fixed three errors in pcm.h found by checkpatch.pl.

What type of errors did you fix?

Quoted 6 lines
---
 drivers/staging/line6/pcm.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

[...]

Signature · 1 line
- Jeremiah Mahler
#2 lore raw

Hi Jeremiah,

Quoted 6 lines · Jeremiah Mahler

Jonas,

Quoted 1 line · Jonas Lundqvist

Fixed three errors in pcm.h found by checkpatch.pl.

What type of errors did you fix?

These errors:
drivers/staging/line6/pcm.h:148: ERROR: space prohibited before that ',' (ctx:WxE)
drivers/staging/line6/pcm.h:155: ERROR: space prohibited before that ',' (ctx:WxE)
drivers/staging/line6/pcm.h:162: ERROR: space prohibited before that ',' (ctx:WxE)

BR
Jonas

#3 lore raw
Quoted 10 lines · Jonas Lundqvist

Hi Jeremiah,

Quoted 6 lines · Jeremiah Mahler

Jonas,

Quoted 1 line · Jonas Lundqvist

Fixed three errors in pcm.h found by checkpatch.pl.

What type of errors did you fix?

Quoted 7 lines

These errors:
drivers/staging/line6/pcm.h:148: ERROR: space prohibited before that ',' (ctx:WxE)
drivers/staging/line6/pcm.h:155: ERROR: space prohibited before that ',' (ctx:WxE)
drivers/staging/line6/pcm.h:162: ERROR: space prohibited before that ',' (ctx:WxE)

I am sure Jeremiah Mahler actually wanted to tell you that you should include that information in the commit log. We always mention what kind of error was fixed.

thanks
sudip

Quoted 5 lines

BR
Jonas

#4 lore raw

PATCH 1/1 Staging: line6: remove spaces before commas.

Fixed three errors in pcm.h found by checkpatch.pl:

drivers/staging/line6/pcm.h:148: ERROR: space prohibited before that ',' (ctx:WxE)
drivers/staging/line6/pcm.h:155: ERROR: space prohibited before that ',' (ctx:WxE)
drivers/staging/line6/pcm.h:162: ERROR: space prohibited before that ',' (ctx:WxE)

---
 drivers/staging/line6/pcm.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/line6/pcm.h +3 -3
index 6aa0d46..5d87934 100644
@@ -145,21 +145,21 @@ enum {
 	    LINE6_BIT_PCM_IMPULSE_PLAYBACK_BUFFER |
 #endif
 	    LINE6_BIT_PCM_ALSA_PLAYBACK_BUFFER |
-	    LINE6_BIT_PCM_MONITOR_PLAYBACK_BUFFER ,
+	    LINE6_BIT_PCM_MONITOR_PLAYBACK_BUFFER,
 
 	LINE6_BITS_PLAYBACK_STREAM =
 #ifdef CONFIG_LINE6_USB_IMPULSE_RESPONSE
 	    LINE6_BIT_PCM_IMPULSE_PLAYBACK_STREAM |
 #endif
 	    LINE6_BIT_PCM_ALSA_PLAYBACK_STREAM |
-	    LINE6_BIT_PCM_MONITOR_PLAYBACK_STREAM ,
+	    LINE6_BIT_PCM_MONITOR_PLAYBACK_STREAM,
 
 	LINE6_BITS_CAPTURE_BUFFER =
 #ifdef CONFIG_LINE6_USB_IMPULSE_RESPONSE
 	    LINE6_BIT_PCM_IMPULSE_CAPTURE_BUFFER |
 #endif
 	    LINE6_BIT_PCM_ALSA_CAPTURE_BUFFER |
-	    LINE6_BIT_PCM_MONITOR_CAPTURE_BUFFER ,
+	    LINE6_BIT_PCM_MONITOR_CAPTURE_BUFFER,
 
 	LINE6_BITS_CAPTURE_STREAM =
 #ifdef CONFIG_LINE6_USB_IMPULSE_RESPONSE
Signature · 1 line
2.1.4
#5 lore raw

Jonas,

In your subject line, when you create a new version of a patch, include the version number. In this case it would be "[PATCH v2]".

Quoted 9 lines · Jonas Lundqvist

Fixed three errors in pcm.h found by checkpatch.pl:

drivers/staging/line6/pcm.h:148: ERROR: space prohibited before that ',' (ctx:WxE)
drivers/staging/line6/pcm.h:155: ERROR: space prohibited before that ',' (ctx:WxE)
drivers/staging/line6/pcm.h:162: ERROR: space prohibited before that ',' (ctx:WxE)

It is better than no description at all. But listing each identical error is redundant. I would have just said something to the effect of "fix three space prohibited errors ...".

Quoted 5 lines
---
 drivers/staging/line6/pcm.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

[...]

Signature · 1 line
- Jeremiah Mahler