[PATCH 5/6] powerpc: powenv: oxcl: use lock guard for mutex
    Shrikanth Hegde 
    sshegde at linux.ibm.com
       
    Fri Mar 14 17:57:40 AEDT 2025
    
    
  
On 3/14/25 11:36, Andrew Donnellan wrote:
> 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
>>
>> Signed-off-by: Shrikanth Hegde <sshegde at linux.ibm.com>
> 
> The subject line of this patch misspells powernv and ocxl.
Ah. my bad. will correct it.
> 
> Otherwise this looks like a nice cleanup.
Thanks.
    
    
More information about the Linuxppc-dev
mailing list