[PATCH v2 5/6] powerpc: powernv: ocxl: use lock guard for mutex
Andrew Donnellan
ajd at linux.ibm.com
Wed Mar 19 15:00:32 AEDT 2025
On Fri, 2025-03-14 at 17: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
>
> Signed-off-by: Shrikanth Hegde <sshegde at linux.ibm.com>
Acked-by: Andrew Donnellan <ajd at linux.ibm.com>
--
Andrew Donnellan OzLabs, ADL Canberra
ajd at linux.ibm.com IBM Australia Limited
More information about the Linuxppc-dev
mailing list