staging: rtl8723bs: Use scoped_guard for mutex handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | staging: rtl8723bs: Replace manual mutex handling with scoped_guard()drivers/ | +6 | 0 replies | |
| 2/2 | staging: rtl8723bs: Switch mutexes to scoped_guarddrivers/ | +126 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] staging: rtl8723bs: Use scoped_guard for mutex handling
This patchset updates the rtl8723bs driver by replacing manual mutex lock and unlock operations with scoped_guard(), aiming to improve code clarity and safety through automatic resource management. This change makes the code more resilient to early returns and error paths.
Erick Karanja (2):
staging: rtl8723bs: Replace manual mutex handling with scoped_guard()
staging: rtl8723bs: Switch mutexes to scoped_guard
drivers/staging/rtl8723bs/core/rtw_cmd.c | 14 +- drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 281 +++++++++---------- 2 files changed, 132 insertions(+), 163 deletions(-)
Signature · 1 line
2.43.0