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

From: Andrew Donnellan
Date: Wed Mar 19 2025 - 00:00:36 EST


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@xxxxxxxxxxxxx IBM Australia Limited