summaryrefslogtreecommitdiffstats
path: root/drivers/staging/speakup
diff options
context:
space:
mode:
authorSandhya Bankar <bankarsandhya512@gmail.com>2016-09-22 15:23:55 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-22 11:56:54 +0200
commit114c9ec2fdcc492543c149fc1d0325ecbbf3d25e (patch)
treee6f3720388d4002a0c0a2d7f768e837148c04198 /drivers/staging/speakup
parent7725066f1b4dd7fe69d85bf2a276f01d048cb967 (diff)
downloadlinux-114c9ec2fdcc492543c149fc1d0325ecbbf3d25e.tar.gz
linux-114c9ec2fdcc492543c149fc1d0325ecbbf3d25e.tar.bz2
linux-114c9ec2fdcc492543c149fc1d0325ecbbf3d25e.zip
Staging: speakup: varhandlers: Add space around the operator.
This patch was found by checkpatch. Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup')
-rw-r--r--drivers/staging/speakup/varhandlers.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/speakup/varhandlers.c b/drivers/staging/speakup/varhandlers.c
index e1393d2a2b0f..21186e3dc7ad 100644
--- a/drivers/staging/speakup/varhandlers.c
+++ b/drivers/staging/speakup/varhandlers.c
@@ -276,7 +276,7 @@ int spk_set_mask_bits(const char *input, const int which, const int how)
u_char *cp;
short mask = spk_punc_info[which].mask;
- if (how&1) {
+ if (how & 1) {
for (cp = (u_char *)spk_punc_info[3].value; *cp; cp++)
spk_chartab[*cp] &= ~mask;
}
@@ -290,14 +290,14 @@ int spk_set_mask_bits(const char *input, const int which, const int how)
if (mask < PUNC) {
if (!(spk_chartab[*cp] & PUNC))
break;
- } else if (spk_chartab[*cp]&B_NUM)
+ } else if (spk_chartab[*cp] & B_NUM)
break;
}
if (*cp)
return -EINVAL;
cp = (u_char *)input;
}
- if (how&2) {
+ if (how & 2) {
for (; *cp; cp++)
if (*cp > SPACE)
spk_chartab[*cp] |= mask;