[PATCH] staging: rtl8723bs: core: Move constants to the right of comparison

2021-04-06 Thread Zhansaya Bagdauletkyzy
Move constant variables to the right side of comparisons to increase consistency with Linux kernel code base. Reported by checkpatch. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 16 1 file changed, 8 insertions(+), 8 deletions

[PATCH] staging: greybus: Match parentheses alignment

2021-04-06 Thread Zhansaya Bagdauletkyzy
Match next line with open parentheses by adding tabs/spaces to conform with Linux kernel coding style. Reported by checkpatch. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/greybus/camera.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers

[PATCH v2 2/2] staging: rtl8712: Remove extra blank lines

2021-04-06 Thread Zhansaya Bagdauletkyzy
Remove extra blank lines after an open brace to adhere to Linux kernel coding style. Reported by checkpatch. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/rtl8712/rtl871x_io.h | 1 - drivers/staging/rtl8712/rtl871x_mlme.h | 1 - drivers/staging/rtl8712/rtl871x_recv.h | 1

[PATCH v2 1/2] staging: rtl8712: Rewrite NULL comparisons

2021-04-06 Thread Zhansaya Bagdauletkyzy
Replace NULL comparisons with boolean negation to be more consistent with the rest of the Linux kernel code base. Reported by checkpatch. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/rtl8712/rtl871x_recv.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH v2 0/2] staging: rtl8712: rewrite comparisons and remove blank lines

2021-04-06 Thread Zhansaya Bagdauletkyzy
This patchset replaces NULL comparisons with boolean negation and removes extra blank lines after an open brace. Changes since v1: - more detailed description of the commit Zhansaya Bagdauletkyzy (2): staging: rtl8712: Rewrite NULL comparisons staging: rtl8712: Remove extra blank

[PATCH v2 2/2] staging: rtl8712: Remove extra blank lines

2021-04-06 Thread Zhansaya Bagdauletkyzy
Remove extra blank lines after an open brace to adhere to Linux kernel coding style. Reported by checkpatch. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/rtl8712/rtl871x_io.h | 1 - drivers/staging/rtl8712/rtl871x_mlme.h | 1 - drivers/staging/rtl8712/rtl871x_recv.h | 1

[PATCH v2 0/2] staging: rtl8712: rewrite comparisons and remove blank lines

2021-04-06 Thread Zhansaya Bagdauletkyzy
This patchset replaces NULL comparisons with boolean negation and removes extra blank lines after an open brace. Changes since v1: - more detailed descripton of the commit Zhansaya Bagdauletkyzy (2): staging: rtl8712: Rewrite NULL comparisons staging: rtl8712: Remove extra blank

[PATCH v2 1/2] staging: rtl8712: Rewrite NULL comparisons

2021-04-06 Thread Zhansaya Bagdauletkyzy
Replace NULL comparisons with boolean negation to be more consistent with the rest of the Linux kernel code base. Reported by checkpatch. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/rtl8712/rtl871x_recv.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 1/2] staging: rtl8712: Rewrite NULL comparisons

2021-04-06 Thread Zhansaya Bagdauletkyzy
Replace NULL comparisons with boolean negation. Reported by checkpatch. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/rtl8712/rtl871x_recv.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8712/rtl871x_recv.h b/drivers/staging

[PATCH 0/2] staging: rtl8712: rewrite comparisons and remove blank lines

2021-04-06 Thread Zhansaya Bagdauletkyzy
This patchset replaces NULL comparisons with boolean negation and removes extra blank lines after an open brace. Zhansaya Bagdauletkyzy (2): staging: rtl8712: Rewrite NULL comparisons staging: rtl8712: Remove extra blank lines drivers/staging/rtl8712/rtl871x_io.h | 1 - drivers/staging

[PATCH 2/2] staging: rtl8712: Remove extra blank lines

2021-04-06 Thread Zhansaya Bagdauletkyzy
Remove extra blank lines after an open brace to adhere to Linux kernel coding style. Reported by checkpatch. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/rtl8712/rtl871x_io.h | 1 - drivers/staging/rtl8712/rtl871x_mlme.h | 1 - drivers/staging/rtl8712/rtl871x_recv.h | 1

[PATCH 4/4] staging: rtl8712: Remove spaces after a cast

2021-04-06 Thread Zhansaya Bagdauletkyzy
Remove extra spaces after a cast to conform with Linux kernel coding style. Reported by checkpatch. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/rtl8712/rtl871x_security.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8712

[PATCH 3/4] staging: rtl8712: remove extra blank lines

2021-04-06 Thread Zhansaya Bagdauletkyzy
Remove extra blank lines to conform with Linux kernel coding style. Reported by checkpatch. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c b/drivers

[PATCH 2/4] staging: rtl8712: match parentheses alignment

2021-04-06 Thread Zhansaya Bagdauletkyzy
Match next line with open parentheses by adding tabs/spaces to conform with Linux kernel coding style. Reported by checkpatch. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/rtl8712/rtl871x_recv.c | 22 +++--- drivers/staging/rtl8712/rtl871x_xmit.h | 2 +- drivers

[PATCH 1/4] staging: rtl8712: add spaces around operators

2021-04-06 Thread Zhansaya Bagdauletkyzy
Add spaces around operators to adhere to Linux kernel coding style. Reported by checkpatch. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 4 ++-- drivers/staging/rtl8712/rtl871x_security.h| 4 ++-- drivers/staging/rtl8712/rtl871x_xmit.h

[PATCH 0/4] staging: rtl8712: clean up coding style issues

2021-04-06 Thread Zhansaya Bagdauletkyzy
To fix style issues, this patchset removes blank lines, adds and removes spaces, and matches paretheses alignment. Zhansaya Bagdauletkyzy (4): staging: rtl8712: add spaces around operators staging: rtl8712: match parentheses alignment staging: rtl8712: remove extra blank lines staging

[PATCH 1/2] staging: rtl8712: add blank lines after declarations

2021-04-04 Thread Zhansaya Bagdauletkyzy
Add blank lines after function/struct/union/enum declarations to adhere to Linux kernel coding style. Reported by checkpatch. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/rtl8712/rtl8712_recv.h | 1 + drivers/staging/rtl8712/rtl871x_cmd.h | 10 ++ drivers/staging

[PATCH 2/2] staging: rtl8712: remove extra blank lines

2021-04-04 Thread Zhansaya Bagdauletkyzy
Remove extra blank lines to adhere to Linux kernel coding style. Reported by checkpatch. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/rtl8712/rtl8712_recv.h| 1 - drivers/staging/rtl8712/rtl871x_mlme.c| 3 --- drivers/staging/rtl8712/rtl871x_pwrctrl.h | 3 --- drivers

[PATCH 0/2] staging: rtl8712: add blank lines after declarations and remove extra blank lines

2021-04-04 Thread Zhansaya Bagdauletkyzy
This patchset adds blank lines after function/struct/union/enum declarations and removes extra blank lines. Reported by checkpatch. Zhansaya Bagdauletkyzy (2): staging: rtl8712: add blank lines after declarations staging: rtl8712: remove extra blank lines drivers/staging/rtl8712

[Outreachy kernel][PATCH] staging: sm750fb: Remove unnecessary blank line

2021-04-04 Thread Zhansaya Bagdauletkyzy
Remove unnecessary extra blank line to improve readability. Reported by checkpatch. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/sm750fb/sm750.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm750.h index 1b3f5f649c52

[PATCH 6/7] staging: media: zoran: Rename 'We' to 'we'

2021-04-03 Thread Zhansaya Bagdauletkyzy
Rename variable 'We' to 'we' to eliminate camelcase. Reported by checkpatch.pl. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/media/zoran/zoran_device.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/media/zoran/zoran

[PATCH 7/7] staging: media: zoran: Rename 'He' to 'he'

2021-04-03 Thread Zhansaya Bagdauletkyzy
Rename variable 'He' to 'he' to eliminate camelcase. Reported by checkpatch.pl. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/media/zoran/zoran_device.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/media/zoran/zoran

[PATCH 5/7] staging: media: zoran: Rename 'VidWinHt' to 'vid_win_ht'

2021-04-03 Thread Zhansaya Bagdauletkyzy
Rename 'VidWinHt' to 'vid_win_ht' to eliminate camelcase. Reported by checkpatch.pl. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/media/zoran/zoran_device.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/media/zor

[PATCH 3/7] staging: media: zoran: Rename 'DispMode' to 'disp_mode'

2021-04-03 Thread Zhansaya Bagdauletkyzy
Rename variable 'DispMode' to 'disp_mode' to eliminate camelcase. Reported by checkpatch.pl. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/media/zoran/zoran_device.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers

[PATCH 4/7] staging: media: zoran: Rename 'VidWinWid' to 'vid_win_wid'

2021-04-03 Thread Zhansaya Bagdauletkyzy
Rename variable 'VidWinWid' to 'vid_win_wid' to eliminate camelcase. Reported by checkpatch.pl. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/media/zoran/zoran_device.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers

[PATCH 1/7] staging: media: zoran: Rename 'HEnd' to 'h_end'

2021-04-03 Thread Zhansaya Bagdauletkyzy
Rename variable 'HEnd' to 'h_end' to eliminate camelcase Reported by checkpatch.pl. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/media/zoran/zoran_device.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/media/zor

[PATCH 2/7] staging: media: zoran: Rename 'VEnd' to 'v_end'

2021-04-03 Thread Zhansaya Bagdauletkyzy
Rename variable 'VEnd' to 'v_end' to eliminate camelcase. Reported by checkpatch.pl. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/media/zoran/zoran_device.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/media/zor

[PATCH 0/7] staging: media: zoran: Eliminate camelcase

2021-04-03 Thread Zhansaya Bagdauletkyzy
This patchset fixes 'avoid camelcase' warning by converting local variables to lowercase and separating words using '_'. Renaming of each variable is implemented in separate patches. Zhansaya Bagdauletkyzy (7): Rename 'HEnd' to 'h_end' Rename