projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7725066
)
Staging: speakup: varhandlers: Add space around the operator.
author
Sandhya Bankar
<
[email protected]
>
Thu, 22 Sep 2016 09:53:55 +0000
(15:23 +0530)
committer
Greg Kroah-Hartman
<
[email protected]
>
Thu, 22 Sep 2016 09:56:54 +0000
(11:56 +0200)
This patch was found by checkpatch.
Signed-off-by: Sandhya Bankar <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/speakup/varhandlers.c
patch
|
blob
|
history
diff --git
a/drivers/staging/speakup/varhandlers.c
b/drivers/staging/speakup/varhandlers.c
index e1393d2a2b0f9b531bdba05db43cdbbcead1c917..21186e3dc7ad13bdc74de1e0e710bc2c0cbc29fa 100644
(file)
--- 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;