Re: [PATCH v5 2/4] genirq: Move NULL check into irqdesc_lock guard unlock expression
From: Thomas Gleixner
Date: Tue Jun 02 2026 - 16:38:53 EST
On Tue, Jun 02 2026 at 07:12, Dmitry Ilvokhin wrote:
> irqdesc_lock uses __DEFINE_UNLOCK_GUARD() directly with a custom
> constructor that can set .lock to NULL.
>
> In preparation for removing the NULL check from __DEFINE_UNLOCK_GUARD(),
> move the NULL check into the irqdesc_lock unlock expression, making the
> NULL handling explicit at the call site.
>
> No functional change.
>
> Signed-off-by: Dmitry Ilvokhin <d@xxxxxxxxxxxx>
Acked-by: Thomas Gleixner <tglx@xxxxxxxxxx>