Re: [PATCH 5/6] powerpc: powenv: oxcl: use lock guard for mutex

From
Andrew Donnellan <hidden>
Date
2025-03-14 06:07:00
Also in
lkml
Reply to
Shrikanth Hegde, 2025-03-14
On Fri, 2025-03-14 at 11:15 +0530, Shrikanth Hegde wrote:
use guard(mutex) for scope based resource management of mutex.
This would make the code simpler and easier to maintain.

More details on lock guards can be found at
https://lore.kernel.org/all/20230612093537.614161713@infradead.org/T/#u (local)

Signed-off-by: Shrikanth Hegde <sshegde@linux.ibm.com>
The subject line of this patch misspells powernv and ocxl.

Otherwise this looks like a nice cleanup.

-- 
Andrew Donnellan    OzLabs, ADL Canberra
ajd@linux.ibm.com   IBM Australia Limited
Thread (16 messages) 16 messages, 3 authors, last reply 2025-03-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help