Linus Torvalds 10270d4838 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 <len.brown@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-13 09:56:14 -08:00
..
2007-02-02 21:14:32 -05:00
2007-02-02 21:14:31 -05:00
2007-02-02 21:14:31 -05:00
2007-05-09 23:34:35 -04:00
2007-02-02 21:14:31 -05:00
2007-02-02 21:14:31 -05:00
2007-05-09 23:34:35 -04:00
2007-02-02 21:14:31 -05:00
2007-05-09 23:34:35 -04:00
2007-05-09 23:34:35 -04:00
2007-02-02 21:14:31 -05:00
2007-02-02 21:14:31 -05:00
2008-02-07 03:33:23 -05:00
2007-02-02 21:14:31 -05:00
2008-02-03 17:07:16 +02:00
2007-02-02 21:14:31 -05:00
2007-02-02 21:14:31 -05:00
2007-04-25 01:13:47 -04:00
2007-02-02 21:14:31 -05:00
2007-02-02 21:14:31 -05:00
2005-08-05 00:45:14 -04:00