staging: rtl8723bs: explicitly type variables in rtw_security.c
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest6 patches 0 repliesNew
Changes in v3 from the cover letter
- Split rtw_security.c changes into 6 logical patches (one concept per patch).
- Replaced 1/0 assignments with true/false for boolean flags.
- Dropped hal_intf.c from this series entirely (will address separately).
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | staging: rtl8723bs: use explicit types for lengths in rtw_security.cdrivers/ | +4 | 0 replies | |
| 2/6 | staging: rtl8723bs: use bool for flags in rtw_security.cdrivers/ | +18 | 0 replies | |
| 3/6 | staging: rtl8723bs: use u8 for frame types in rtw_security.cdrivers/ | +7 | 0 replies | |
| 4/6 | staging: rtl8723bs: use explicit types for math variables and iteratorsdrivers/ | +8 | 0 replies | |
| 5/6 | staging: rtl8723bs: use u32 for payload_length in rtw_security.cdrivers/ | +1 | 0 replies | |
| 6/6 | staging: rtl8723bs: use u32 for length variables in rtw_BIP_verify()drivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/6] staging: rtl8723bs: explicitly type variables in rtw_security.c
This v3 series focuses exclusively on explicitly typing the non-standard 'uint' variables in rtw_security.c.
Per Greg's feedback on v2, I have split the explicit sizing of variables into 6 granular, logical commits to ensure rigorous bisectability and ease of review:
- Patch 1: Matches packet lengths to struct definitions.
- Patch 2: Converts integer flags to standard booleans and updates 1/0 assignments.
- Patch 3: Explicitly sizes frame types to u8 based on bitmasks.
- Patches 4-6: Explicitly types computed variables, iterators, and helper lengths to safely handle math operations.
Changes in v3:
- Split rtw_security.c changes into 6 logical patches (one concept per patch).
- Replaced 1/0 assignments with true/false for boolean flags.
- Dropped hal_intf.c from this series entirely (will address separately).
Pranav Desai (6):
staging: rtl8723bs: use explicit types for lengths in rtw_security.c
staging: rtl8723bs: use bool for flags in rtw_security.c
staging: rtl8723bs: use u8 for frame types in rtw_security.c
staging: rtl8723bs: use explicit types for math variables and
iterators
staging: rtl8723bs: use u32 for payload_length in rtw_security.c
staging: rtl8723bs: use u32 for length variables in rtw_BIP_verify()
drivers/staging/rtl8723bs/core/rtw_security.c | 68 ++++++++++--------- 1 file changed, 37 insertions(+), 31 deletions(-)
Signature · 1 line
2.55.0