[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <12f4d203-615b-0937-857e-ef0a478cd183@huawei.com>
Date: Tue, 23 Apr 2024 10:16:51 +0800
From: Jinjie Ruan <ruanjinjie@...wei.com>
To: Thomas Gleixner <tglx@...utronix.de>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -next] genirq: Reuse irq_is_nmi()
On 2024/4/23 5:01, Thomas Gleixner wrote:
> On Wed, Apr 17 2024 at 16:56, Jinjie Ruan wrote:
>>
>> +static bool __maybe_unused irq_is_nmi(struct irq_desc *desc)
>
> Seriously? What's wrong with static inline?
Use "static bool" has follwoing warning:
kernel/irq/internals.h:283:13: warning: ‘irq_is_nmi’ defined but not
used [-Wunused-function]
283 | static bool irq_is_nmi(struct irq_desc *desc)
But us "static inline bool" is ok.
I'll change it to inline, thank you very much!
>
Powered by blists - more mailing lists