All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] staging: rtl8723bs: modernize locking with cleanup.h
@ 2026-08-22 18:23 Samrudh Nelli
  2026-08-22 18:23 ` [PATCH 1/2] staging: rtl8723bs: use guard(mutex) to simplify locking Samrudh Nelli
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Samrudh Nelli @ 2026-08-22 18:23 UTC (permalink / raw)
  To: gregkh; +Cc: ethantidmore06, azpijr, linux-staging, linux-kernel,
	Samrudh Nelli

This series modernizes the mutex locking in rtw_pwrctrl.c by utilizing 
the guard() and scoped_guard() macros introduced in cleanup.h.

Patch 1 converts functions where the lock is held until returning.
Patch 2 converts functions where the lock is dropped mid-execution.

Samrudh Nelli (2):
  staging: rtl8723bs: use guard(mutex) to simplify locking
  staging: rtl8723bs: use scoped_guard() for mid-function locking

 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 154 ++++++++-----------
 1 file changed, 64 insertions(+), 90 deletions(-)

-- 
2.55.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-08-24  6:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-22 18:23 [PATCH 0/2] staging: rtl8723bs: modernize locking with cleanup.h Samrudh Nelli
2026-08-22 18:23 ` [PATCH 1/2] staging: rtl8723bs: use guard(mutex) to simplify locking Samrudh Nelli
2026-08-22 18:23 ` [PATCH 2/2] staging: rtl8723bs: use scoped_guard() for mid-function locking Samrudh Nelli
2026-08-24  6:53 ` [PATCH 0/2] staging: rtl8723bs: modernize locking with cleanup.h Dan Carpenter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.