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

- From: Andrew Donnellan \<hidden\>
- Date: 2025-03-19 04:00:27 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2025/03/2977406
- Thread: https://ratatoskr.run/linuxppc-dev/2025/03/2971132/t.md

```text
On Fri, 2025-03-14 at 15:00 +0530, Shrikanth Hegde wrote:
> 
> Hi. Andrew,
> 
> After this change below dev_dbg will be called with mutex held still.
> Is 
> that a concern? I don't see the mutex being used in that path.
> 
> Since using scoped_guard cause more code churn here, I would prefer
> not 
> use it.

I think this is fine.

-- 
Andrew Donnellan    OzLabs, ADL Canberra
ajd@linux.ibm.com   IBM Australia Limited

```
