android_kernel_xiaomi_sm8350/drivers/acpi
William Lee Irwin III 98934def70 ACPI: video_device_list corruption
The ->cap fields of struct acpi_video_device and struct acpi_video_bus
are 1B each, not 4B. The oversized memset()'s corrupted the subsequent
list_head fields. This resulted in silent corruption without
CONFIG_DEBUG_LIST and BUG's with it. This patch uses sizeof() to pass
the proper bounds to the memset() calls and thereby correct the bugs.

Signed-off-by: William Irwin <wli@holomorphy.com>
Acked-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: Len Brown <len.brown@intel.com>
2007-12-13 16:24:10 -05:00
..
dispatcher ACPICA: fix acpi-cpufreq boot crash due to _PSD return-by-reference 2007-12-02 14:26:55 -05:00
events
executer
hardware
namespace
parser
resources
sleep Pull alexey-fixes into release branch 2007-10-29 17:30:21 -04:00
tables ACPI: Add missing spaces to printk format 2007-11-19 21:53:32 -05:00
utilities
ac.c ACPI: Split out control for /proc/acpi entries from battery, ac, and sbs. 2007-11-19 11:21:50 -05:00
acpi_memhotplug.c
asus_acpi.c
battery.c Pull procfs-default into release branch 2007-11-20 01:20:00 -05:00
bay.c
blacklist.c
bus.c ACPI: Fan: Drop force_power_state acpi_device option 2007-10-25 16:31:31 -04:00
button.c ACPI: button: send initial lid state after add and resume 2007-10-25 16:31:30 -04:00
cm_sbs.c
container.c
debug.c
dock.c
ec.c Pull bugzilla-9327 into release branch 2007-11-20 20:07:49 -05:00
event.c
fan.c ACPI: Fan: Drop force_power_state acpi_device option 2007-10-25 16:31:31 -04:00
glue.c
Kconfig Revert "acpi: make ACPI_PROCFS default to y" 2007-11-19 11:22:44 -05:00
Makefile ACPI: Split out control for /proc/acpi entries from battery, ac, and sbs. 2007-11-19 11:21:50 -05:00
numa.c
osl.c ACPI: Handle I/O access width requestst that are not a multiple of 8 bits. 2007-11-16 21:37:14 -05:00
pci_bind.c
pci_irq.c
pci_link.c
pci_root.c
power.c ACPI: power: don't cache power resource state 2007-10-25 16:31:31 -04:00
processor_core.c ACPI: avoid references to impossible processors. 2007-11-29 09:24:55 -08:00
processor_idle.c ACPI: move timer broadcast before busmaster disable 2007-12-07 19:16:17 +01:00
processor_perflib.c
processor_thermal.c
processor_throttling.c ACPI: Delete the IRQ operation in throttling controll via PTC 2007-12-01 23:27:15 -05:00
sbs.c Pull procfs-default into release branch 2007-11-20 01:20:00 -05:00
sbshc.c
sbshc.h
scan.c Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00
system.c
tables.c
thermal.c Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2007-10-19 13:12:46 -07:00
toshiba_acpi.c Fix Oops in toshiba_acpi error return path 2007-11-14 18:45:36 -08:00
utils.c
video.c ACPI: video_device_list corruption 2007-12-13 16:24:10 -05:00