android_kernel_xiaomi_sm8350/drivers/acpi
Peter Chubb 51b190b304 [PATCH] `unaligned access' in acpi get_root_bridge_busnr()
In drivers/acpi/glue.c the address of an integer is cast to the address of
an unsigned long.  This breaks on systems where a long is larger than an
int --- for a start the int can be misaligned; for a second the assignment
through the pointer will overwrite part of the next variable.

Signed-off-by: Peter Chubb <peterc@gelato.unsw.edu.au>
Acked-by: "Brown, Len" <len.brown@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-19 23:04:31 -07:00
..
dispatcher [ACPI] ACPICA 20050902 2005-09-03 00:15:11 -04:00
events
executer
hardware
namespace
parser [ACPI] ACPICA 20050902 2005-09-03 00:15:11 -04:00
resources [ACPI] ACPICA 20050902 2005-09-03 00:15:11 -04:00
sleep [PATCH] remove ACPI S4bios support 2005-09-10 10:06:35 -07:00
tables [ACPI] ACPICA 20050815 2005-08-29 23:44:25 -04:00
utilities [ACPI] ACPICA 20050902 2005-09-03 00:15:11 -04:00
ac.c
acpi_memhotplug.c
asus_acpi.c
battery.c
blacklist.c
bus.c
button.c
container.c
debug.c
ec.c
event.c [PATCH] Fix /proc/acpi/events around suspend 2005-10-17 17:03:57 -07:00
fan.c
glue.c [PATCH] `unaligned access' in acpi get_root_bridge_busnr() 2005-10-19 23:04:31 -07:00
hotkey.c
ibm_acpi.c [ACPI] IBM ThinkPad ACPI Extras Driver v0.12 2005-08-25 17:37:51 -04:00
Kconfig [PATCH] Fix CONFIG_ACPI_BLACKLIST_YEAR 2005-09-09 10:45:35 -07:00
Makefile [ACPI] delete CONFIG_ACPI_PCI 2005-08-25 12:40:44 -04:00
motherboard.c Merge from-linus to-akpm 2005-08-15 16:07:26 -04:00
numa.c
osl.c [ACPI] add static to function definitions 2005-09-03 00:20:13 -04:00
pci_bind.c [ACPI] add static to function definitions 2005-09-03 00:20:13 -04:00
pci_irq.c [ACPI] fix run-time error checking in acpi_pci_irq_disable() 2005-09-03 00:36:26 -04:00
pci_link.c
pci_root.c
power.c
processor_core.c [ACPI] revert bad processor_core.c patch for bug 5128 2005-09-03 12:41:12 -04:00
processor_idle.c
processor_perflib.c
processor_thermal.c
processor_throttling.c
scan.c [ACPI] add static to function definitions 2005-09-03 00:20:13 -04:00
system.c
tables.c
thermal.c
toshiba_acpi.c
utils.c
video.c [ACPI] acpi_video_device_write_state() now works 2005-09-03 01:28:06 -04:00