diff options
author | Varsha Rao <rvarsha016@gmail.com> | 2017-02-22 23:16:40 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-06 09:17:02 +0100 |
commit | e3bab5eb1aaa966a0db2eeb032bc53b2995a9221 (patch) | |
tree | 01733020fbc3b1a6050aa6e8d8189179e3eafc45 /drivers/staging/speakup/selection.c | |
parent | staging: speakup: Removed blank line after open braces. (diff) | |
download | linux-dev-e3bab5eb1aaa966a0db2eeb032bc53b2995a9221.tar.xz linux-dev-e3bab5eb1aaa966a0db2eeb032bc53b2995a9221.zip |
staging: speakup: Added spaces around arithmetic operators.
Added spaces around arithmetic operators (+, -, /), to fix the checkpatch
issue.
Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup/selection.c')
-rw-r--r-- | drivers/staging/speakup/selection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/speakup/selection.c b/drivers/staging/speakup/selection.c index aeb2b865615a..afd9a446a06f 100644 --- a/drivers/staging/speakup/selection.c +++ b/drivers/staging/speakup/selection.c @@ -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; |