From: Linus Torvalds Date: Wed, 13 Feb 2008 17:56:14 +0000 (-0800) Subject: acpi: fix acpi_os_read_pci_configuration() misuse of raw_pci_read() X-Git-Tag: v2.6.25-rc2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10270d4838bdc493781f5a1cf2e90e9c34c9142f;p=pandora-kernel.git acpi: fix acpi_os_read_pci_configuration() misuse of raw_pci_read() The raw_pci_read() interface (as the raw_pci_ops->read() before it) unconditionally fills in a 32-bit integer return value regardless of the size of the operation requested. So claiming to take a "void *" is wrong, as is passing in a pointer to just a byte variable. Noticed by pageexec when enabling -fstack-protector (which needs other patches too to actually work, but that's a separate issue). Acked-by: Len Brown Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed