https://bugzilla.kernel.org/show_bug.cgi?id=206629
--- Comment #30 from Ondřej Caletka (ond...@caletka.cz) --- It indeed does not build for me: drivers/acpi/ec.c: In function ‘acpi_ec_other_gpes_active’: drivers/acpi/ec.c:2044:9: error: too many arguments to function ‘acpi_any_gpe_status_set’ 2044 | return acpi_any_gpe_status_set(NULL, skip_gpe); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/acpi/acpi.h:31, from ./include/linux/acpi.h:22, from drivers/acpi/ec.c:29: ./include/acpi/acpixf.h:755:37: note: declared here 755 | ACPI_HW_DEPENDENT_RETURN_UINT32(u32 acpi_any_gpe_status_set(void)) | ^~~~~~~~~~~~~~~~~~~~~~~ ./include/acpi/acpixf.h:76:2: note: in definition of macro ‘ACPI_EXTERNAL_RETURN_UINT32’ 76 | prototype; | ^~~~~~~~~ ./include/acpi/acpixf.h:755:1: note: in expansion of macro ‘ACPI_HW_DEPENDENT_RETURN_UINT32’ 755 | ACPI_HW_DEPENDENT_RETURN_UINT32(u32 acpi_any_gpe_status_set(void)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I've tried to fix the declaration in include/acpi/acpixf.h, but then it failed on: drivers/acpi/acpica/hwgpe.c: In function ‘acpi_hw_check_all_gpes’: drivers/acpi/acpica/hwgpe.c:604:30: error: passing argument 1 of ‘acpi_ev_walk_gpe_list’ from incompatible pointer type [-Werror=incompatible-pointer-types] 604 | (void)acpi_ev_walk_gpe_list(acpi_hw_get_gpe_block_status, &context); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | acpi_status (*)(struct acpi_gpe_xrupt_info *, struct acpi_gpe_block_info *, struct acpi_gpe_block_status_context *) {aka unsigned int (*)(struct acpi_gpe_xrupt_info *, struct acpi_gpe_block_info *, struct acpi_gpe_block_status_context *)} In file included from drivers/acpi/acpica/hwgpe.c:12: drivers/acpi/acpica/acevents.h:133:41: note: expected ‘acpi_gpe_callback’ {aka ‘unsigned int (*)(struct acpi_gpe_xrupt_info *, struct acpi_gpe_block_info *, void *)’} but argument is of type ‘acpi_status (*)(struct acpi_gpe_xrupt_info *, struct acpi_gpe_block_info *, struct acpi_gpe_block_status_context *)’ {aka ‘unsigned int (*)(struct acpi_gpe_xrupt_info *, struct acpi_gpe_block_info *, struct acpi_gpe_block_status_context *)’} 133 | acpi_ev_walk_gpe_list(acpi_gpe_callback gpe_walk_callback, void *context); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors I've given up any attempts to fix it more. -- You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ acpi-bugzilla mailing list acpi-bugzilla@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla