Bug 9989 - exregion.c compilation warning on 2.6.25-rc1-git3
Summary: exregion.c compilation warning on 2.6.25-rc1-git3
Status: CLOSED CODE_FIX
Alias: None
Product: ACPI
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 high
Assignee: Lin Ming
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-14 01:45 UTC by BedOS_Gui
Modified: 2008-02-22 22:01 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.25-rc1-git3
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
.config (44.92 KB, application/octet-stream)
2008-02-14 01:45 UTC, BedOS_Gui
Details
proposed patch (705 bytes, patch)
2008-02-17 19:29 UTC, Lin Ming
Details | Diff

Description BedOS_Gui 2008-02-14 01:45:15 UTC
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:
Comment 1 BedOS_Gui 2008-02-14 01:45:53 UTC
Created attachment 14835 [details]
.config
Comment 2 Lin Ming 2008-02-17 19:29:38 UTC
Created attachment 14878 [details]
proposed patch

avoid the warning just as acpi_ex_system_io_space_handler does
Comment 3 BedOS_Gui 2008-02-18 00:15:10 UTC
The patch is working for me thks Ming Lin.
Comment 4 Len Brown 2008-02-22 22:01:44 UTC
patch in comment #2 shipped in Linux-2.6.25-rc2-git6,
closed.

Note You need to log in before you can comment on or make changes to this bug.