[PATCH] staging: rtl8723bs/core: add spaces between operators

2021-03-16 Thread Qiang Ma
Add spaces between operators for a better readability in function 'rtw_seccalctkipmic'. Signed-off-by: Qiang Ma --- drivers/staging/rtl8723bs/core/rtw_security.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_security.c

[PATCH] staging: rtl8723bs: add spaces between operators

2021-03-14 Thread Qiang Ma
Add spaces between operators for a better readability in function 'rtw_secgetmic'. Signed-off-by: Qiang Ma --- drivers/staging/rtl8723bs/core/rtw_security.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_security.c b/drive

[PATCH] Staging: rtl8723bs/core: fix space coding style issue

2021-03-14 Thread Qiang Ma
Add one space around (on each side of) '*' binary operators. Signed-off-by: Qiang Ma --- drivers/staging/rtl8723bs/core/rtw_security.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_security.c b/drivers/staging/rtl8

[PATCH] char: lp: remove redundant space around (inside) parenthesized expressions

2021-03-08 Thread Qiang Ma
These two lines of code don't meet the linux kernel style, and use a space after these keywords: if, switch, case, for, do, while. Do not add spaces around (inside) parenthesized expressions. So remove the redundant space. Signed-off-by: Qiang Ma --- drivers/char/lp.c | 4 ++-- 1 file ch

[PATCH] powerpc: fix coding style issues

2021-03-04 Thread Qiang Ma
There are several style issues in this function, so fix them. Signed-off-by: Qiang Ma --- arch/powerpc/kernel/syscalls.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/powerpc/kernel/syscalls.c b/arch/powerpc/kernel/syscalls.c index 078608ec2e92

[PATCH] char: lp: remove redundant space

2021-03-04 Thread Qiang Ma
These two lines of code don't meet the kernel coding style, so remove the redundant space. Signed-off-by: Qiang Ma --- drivers/char/lp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/char/lp.c b/drivers/char/lp.c index 862c2fd933c7..0e22e3b0a04e 100644