Messages in this thread Patch in this message | | | From | Walt Feasel <> | Subject | [PATCH] [STYLE]staging:speakup:speakup.h Space preferred around | Date | Fri, 11 Nov 2016 21:11:00 -0500 |
| |
Made suggested modifications from checkpatch in reference to CHECK: spaces preferred around that '|,+'
Signed-off-by: Walt Feasel <waltfeasel@gmail.com> --- drivers/staging/speakup/speakup.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/speakup/speakup.h b/drivers/staging/speakup/speakup.h index df74c91..9219b4a 100644 --- a/drivers/staging/speakup/speakup.h +++ b/drivers/staging/speakup/speakup.h @@ -10,8 +10,8 @@ #define MAX_DESC_LEN 72 /* proc permissions */ -#define USER_R (S_IFREG|S_IRUGO) -#define USER_W (S_IFREG|S_IWUGO) +#define USER_R (S_IFREG | S_IRUGO) +#define USER_W (S_IFREG | S_IWUGO) #define TOGGLE_0 .u.n = {NULL, 0, 0, 1, 0, 0, NULL } #define TOGGLE_1 .u.n = {NULL, 1, 0, 1, 0, 0, NULL } @@ -24,7 +24,7 @@ #define A_CAP 0x0007 #define B_NUM 0x0008 #define NUM 0x0009 -#define ALPHANUM (B_ALPHA|B_NUM) +#define ALPHANUM (B_ALPHA | B_NUM) #define SOME 0x0010 #define MOST 0x0020 #define PUNC 0x0040 @@ -34,9 +34,9 @@ #define B_EXNUM 0x0100 #define CH_RPT 0x0200 #define B_CTL 0x0400 -#define A_CTL (B_CTL+SYNTH_OK) +#define A_CTL (B_CTL + SYNTH_OK) #define B_SYM 0x0800 -#define B_CAPSYM (B_CAP|B_SYM) +#define B_CAPSYM (B_CAP | B_SYM) #define IS_WDLM(x) (spk_chartab[((u_char)x)]&B_WDLM) #define IS_CHAR(x, type) (spk_chartab[((u_char)x)]&type) -- 2.1.4
| |