Re: [patch 02/10] genirq/msi: Use lock guards for MSI descriptor locking
From: Thomas Gleixner
Date: Wed Mar 12 2025 - 13:46:59 EST
On Wed, Mar 12 2025 at 15:08, Jonathan Cameron wrote:
> On Tue, 11 Mar 2025 22:26:52 +0100
> Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>>
>> #define return_ptr(p) return no_free_ptr(p)
>>
>> +#define retain_ptr(p) \
>> + __get_and_null(p, NULL)
> Single line?
>
> This sort of thing got discussed in the past though I doubt I can find
> the thread. There was some push back but maybe now is it's time!
>
> Probably worth shouting about it a bit to attract attention. Maybe
> a separate patch.
Yes of course.