Re: [v2 2/3] i3c: master: Add Qualcomm I3C controller driver

From: Markus Elfring
Date: Sat Mar 29 2025 - 05:44:36 EST


>>>> Under which circumstances would you become interested to apply a statement
>>>> like “guard(spinlock_irqsave)(&gi3c->irq_lock);”?
>>> Didn't get, hence a question.  Do you suggest to use DEFINE_LOCK_GUARD_1 instead of existing method ?
>> I propose to pick further opportunities up for benefits from scope-based resource management.
>>
> Sorry, still not clear to me what should i add/change ? please share me some example.
I pointed desirable statements out several times already.

See also related information sources once more:
* https://elixir.bootlin.com/linux/v6.14-rc6/A/ident/guard
* https://lore.kernel.org/linux-kernel/?q=spinlock_irqsave


Regards,
Markus