[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1ab8afe8-761f-416c-8584-dcf15972e363@suse.com>
Date: Tue, 11 Feb 2025 10:49:31 +0200
From: Nikolay Borisov <nik.borisov@...e.com>
To: "Zhuo, Qiuxu" <qiuxu.zhuo@...el.com>,
"linux-edac@...r.kernel.org" <linux-edac@...r.kernel.org>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"x86@...nel.org" <x86@...nel.org>, "Luck, Tony" <tony.luck@...el.com>
Subject: Re: [PATCH v2 1/3] x86/mce/inject: Remove call to mce_notify_irq()
On 11.02.25 г. 9:03 ч., Zhuo, Qiuxu wrote:
>> From: Nikolay Borisov <nik.borisov@...e.com>
>> [...]
>> --- a/arch/x86/kernel/cpu/mce/core.c
>> +++ b/arch/x86/kernel/cpu/mce/core.c
>> @@ -584,6 +584,28 @@ bool mce_is_correctable(struct mce *m) }
>> EXPORT_SYMBOL_GPL(mce_is_correctable);
>>
>> +/*
>> + * Notify the user(s) about new machine check events.
>> + * Can be called from interrupt context, but not from machine check/NMI
>> + * context.
>> + */
>> +static int mce_notify_irq(void)
>
> Why make mce_notify_irq() return an int?
Pff... because I based my patches off master and not tip, which has it
as bool...
>
>> [...]
>> -/*
>> - * Notify the user(s) about new machine check events.
>> - * Can be called from interrupt context, but not from machine check/NMI
>> - * context.
>> - */
>> -bool mce_notify_irq(void)
>> [...]
Powered by blists - more mailing lists