On Fri, Nov 27, 2020 at 4:15 AM Borislav Petkov <b...@alien8.de> wrote:
> I think the proper fix is to fix the typedef to:
>
>         typedef bool (*check_reserved_t)(u64 start, u64 end, enum e820_type 
> type);
>
> because
>
> * is_mmconf_reserved() is passing in E820_TYPE_RESERVED which is enum 
> e820_type
>
> * is_acpi_reserved() is the other check_reserved_t function ptr and the last 
> arg
> type there is unused so it can just as well be enum e820_type.

Sure, sounds good. I'll send out v3 to change the type argument to
enum e820_type.

Sami

Reply via email to