Staging: speakup: Spaces preferred around operator.
PATCH 1/1 Staging: speakup: Spaces preferred around operator.
Spaces preferred around operator.This issue is found by checkpatch.pl
Signed-off-by Sandhya Bankar <[email protected]>
--- drivers/staging/speakup/selection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/speakup/selection.c +1 -1
@@ -99,7 +99,7 @@ int speakup_set_selection(struct tty_struct *tty) sel_start = new_sel_start; sel_end = new_sel_end;/* Allocate a new buffer before freeing the old one ... */ - bp =kmalloc ((sel_end-sel_start)/2 +1 ,GFP_ATOMIC ); + bp =kmalloc ((sel_end - sel_start) /2 +1 ,GFP_ATOMIC );if (!bp) {speakup_clear_selection ();return -ENOMEM ;
Signature · 1 line
1.8.2.3
Quoted 1 line · Sandhya Bankar
Spaces preferred around operator.This issue is found by checkpatch.pl
There should be a space after the . after operator.
Is Greg the only maintainer for this?
julia
Quoted 29 lines
Signed-off-by Sandhya Bankar <[email protected]>--- drivers/staging/speakup/selection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/speakup/selection.c +1
-2@@ -99,7 +99,7 @@ int speakup_set_selection(struct tty_struct *tty) sel_start = new_sel_start; sel_end = new_sel_end;/* Allocate a new buffer before freeing the old one ... */ - bp =kmalloc ((sel_end-sel_start)/2 +1 ,GFP_ATOMIC ); + bp =kmalloc ((sel_end - sel_start) /2 +1 ,GFP_ATOMIC );if (!bp) {speakup_clear_selection ();return -ENOMEM ; --1.8.2.3
--
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/20160912211129.GA3309%40sandhya.
For more options, visit https://groups.google.com/d/optout.