Skip to content

staging: rtl8723bs: fix uint types in hal_intf and rtw_security

Pranav Desai linux-staging lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 3 repliesIn review

Changes in v2 from the cover letter

- Replaced the driver-wide uint to unsigned int conversion with explicit sizing (u8, u16, u32, bool) based on actual variable usage.
- Scoped down from the entire driver to just hal_intf and rtw_security to keep review easy.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2staging: rtl8723bs: replace uint with u32 in hal_intf.[ch]drivers/staging/rtl8723bs/hal/hal_intf.c drivers/staging/rtl8723bs/include/hal_intf.h+6 -62 replies
2/2staging: rtl8723bs: replace uint with explicit types in rtw_security.cdrivers/staging/rtl8723bs/core/rtw_security.c+30 -211 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] staging: rtl8723bs: fix uint types in hal_intf and rtw_security

Per Greg's feedback on v1, I went through the variables to pick types based on how each is used, rather than doing a blind replace.

I am sending this as a smaller 2-patch series to ensure I am on the right track before tackling the rest of the driver. If this approach looks good, I will do the same for the remaining files.

Changes in v2:
- Replaced the driver-wide uint to unsigned int conversion with explicit sizing (u8, u16, u32, bool) based on actual variable usage.
- Scoped down from the entire driver to just hal_intf and rtw_security to keep review easy.

Pranav Desai (2):
staging: rtl8723bs: replace uint with u32 in hal_intf.[ch]
staging: rtl8723bs: replace uint with explicit types in rtw_security.c

 drivers/staging/rtl8723bs/core/rtw_security.c | 51 +++++++++++--------
 drivers/staging/rtl8723bs/hal/hal_intf.c      |  8 +--
 drivers/staging/rtl8723bs/include/hal_intf.h  |  4 +-
 3 files changed, 36 insertions(+), 27 deletions(-)
Signature · 1 line
2.55.0