[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1745523325.git.karanja99erick@gmail.com>
Date: Thu, 24 Apr 2025 22:56:24 +0300
From: Erick Karanja <karanja99erick@...il.com>
To: gregkh@...uxfoundation.org
Cc: julia.lawall@...ia.fr,
karanja99erick@...il.com,
philipp.g.hortmann@...il.com,
linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: [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(-)
--
2.43.0
Powered by blists - more mailing lists