Re: [PATCH v2 2/7] x86/mce: Provide method to find out the type of exception handle
From: Borislav Petkov
Date: Mon Oct 05 2020 - 12:35:10 EST
On Wed, Sep 30, 2020 at 04:26:06PM -0700, Tony Luck wrote:
> diff --git a/arch/x86/mm/extable.c b/arch/x86/mm/extable.c
> index 1d6cb07f4f86..de869665309e 100644
> --- a/arch/x86/mm/extable.c
> +++ b/arch/x86/mm/extable.c
> @@ -125,17 +125,21 @@ __visible bool ex_handler_clear_fs(const struct exception_table_entry *fixup,
> }
> EXPORT_SYMBOL(ex_handler_clear_fs);
>
> -__visible bool ex_has_fault_handler(unsigned long ip)
> +enum handler_type ex_fault_handler_type(unsigned long ip)
Function name needs a verb:
s!ex_fault_handler_type!ex_get_fault_handler_type!g
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette