Staging: line6: remove spaces before commas.
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
@@ -145,21 +145,21 @@ enum {LINE6_BIT_PCM_IMPULSE_PLAYBACK_BUFFER | #endifLINE6_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_RESPONSELINE6_BIT_PCM_IMPULSE_PLAYBACK_STREAM | #endifLINE6_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_RESPONSELINE6_BIT_PCM_IMPULSE_CAPTURE_BUFFER | #endifLINE6_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
Jonas,
Quoted 1 line · Jonas Lundqvist
Fixed three errors in
pcm.hfound by checkpatch.pl.
What type of errors did you fix?
Quoted 6 lines
Signed-off-by Jonas Lundqvist <[email protected]>--- drivers/staging/line6/pcm.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
[...]
Signature · 1 line
- Jeremiah Mahler
Hi Jeremiah,
Quoted 6 lines · Jeremiah Mahler
Jonas,
Quoted 1 line · Jonas Lundqvist
Fixed three errors in
pcm.hfound 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
Quoted 10 lines · Jonas Lundqvist
Hi Jeremiah,
Quoted 6 lines · Jeremiah Mahler
Jonas,
Quoted 1 line · Jonas Lundqvist
Fixed three errors in
pcm.hfound 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
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
@@ -145,21 +145,21 @@ enum {LINE6_BIT_PCM_IMPULSE_PLAYBACK_BUFFER | #endifLINE6_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_RESPONSELINE6_BIT_PCM_IMPULSE_PLAYBACK_STREAM | #endifLINE6_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_RESPONSELINE6_BIT_PCM_IMPULSE_CAPTURE_BUFFER | #endifLINE6_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
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.hfound 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
Signed-off-by Jonas Lundqvist <[email protected]>--- drivers/staging/line6/pcm.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
[...]
Signature · 1 line
- Jeremiah Mahler