CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2016/01/22 15:57:23
Modified files:
sys/dev/acpi : dwiic.c
Log message:
Zero the local structs holding crs information before parsing _CRS.
This avoids reading uninitialised memory when expected value types are
not present, as is currently the case with gpio signalled interrupts,
and could also be the case with buggy aml.
Without this change under certain conditions on the ideapad 100s
(such as a ramdisk kernel or generic kernel compiled with -O0)
ihidev would incorrectly attach to a bogus ioapic interrupt.
ok kettenis@