[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a1e92d89e9ec99a4b20b0f15bede1254b87b95b9.camel@linux.ibm.com>
Date: Wed, 19 Mar 2025 15:00:32 +1100
From: Andrew Donnellan <ajd@...ux.ibm.com>
To: Shrikanth Hegde <sshegde@...ux.ibm.com>, maddy@...ux.ibm.com,
linuxppc-dev@...ts.ozlabs.org
Cc: npiggin@...il.com, christophe.leroy@...roup.eu, mpe@...erman.id.au,
peterz@...radead.org, fbarrat@...ux.ibm.com, mahesh@...ux.ibm.com,
oohall@...il.com, hbathini@...ux.ibm.com, dhowells@...hat.com,
haren@...ux.ibm.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 5/6] powerpc: powernv: ocxl: use lock guard for mutex
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@...ux.ibm.com>
Acked-by: Andrew Donnellan <ajd@...ux.ibm.com>
--
Andrew Donnellan OzLabs, ADL Canberra
ajd@...ux.ibm.com IBM Australia Limited
Powered by blists - more mailing lists