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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
28 matches
Mail list logo