staging: rtl8723bs: fix boolean logic and clean up coding style
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | staging: rtl8723bs: fix coding style issues in core:rtw_wlan_util.cdrivers/ | +1 | 1 reply | |
| 2/2 | staging: rtl8723bs: fix coding style and remove dead codedrivers/ | +82 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] staging: rtl8723bs: fix boolean logic and clean up coding style
This patch series addresses a potential logical bug and performs various formatting cleanups in the rtl8723bs driver, specifically within rtw_wlan_util.c.
Patch 1 fixes an error-prone boolean comparison. A u8 parameter was explicitly compared to 'true' (1). The condition is now evaluated implicitly to ensure that any non-zero value correctly triggers the intended hardware register set operation.
Patch 2 focuses strictly on coding style improvements to align the code with the Linux kernel formatting standards. It resolves lines exceeding the 80-column limit, fixes parenthesis alignment, and removes outdated commented-out dead code.
Both patches resolve issues highlighted by checkpatch.pl. No functional changes are introduced in the second patch.
Marcos Andrade (2):
staging: rtl8723bs: fix coding style issues in core:rtw_wlan_util.c
staging: rtl8723bs: fix coding style and remove dead code
.../staging/rtl8723bs/core/rtw_wlan_util.c | 130 +++++++++++------- 1 file changed, 83 insertions(+), 47 deletions(-)
Signature · 1 line
2.53.0