Latest working kernel version: 2.6.25-rc1-git2 Earliest failing kernel version: Distribution: gentoo ~amd64 Hardware Environment: amd64 X2 Software Environment: gcc-4.2.2 Problem Description: When building above kernel this compilation warning occurs for drivers/acpi/executer CC drivers/acpi/executer/exregion.o drivers/acpi/executer/exregion.c: In function ‘acpi_ex_pci_config_space_handler’: drivers/acpi/executer/exregion.c:369: attention : passing argument 3 of ‘acpi_os_read_pci_configuration’ from incompatible pointer type Steps to reproduce:
Created attachment 14835 [details] .config
Created attachment 14878 [details] proposed patch avoid the warning just as acpi_ex_system_io_space_handler does
The patch is working for me thks Ming Lin.
patch in comment #2 shipped in Linux-2.6.25-rc2-git6, closed.