summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@kernel.org>2016-02-15 08:32:33 -0800
committerDarren Hart <dvhart@linux.intel.com>2016-03-23 10:05:44 -0700
commit18b6f80f5095036bd2204c54c89a5a0f5a785e3d (patch)
treede5e85f413d4c0a5eadf0dd9e2251abbd74c2b01 /drivers/watchdog
parent0c41a08e131d753af48ae6f052aed8d530b9c976 (diff)
downloadlinux-18b6f80f5095036bd2204c54c89a5a0f5a785e3d.tar.bz2
dell-wmi: Stop storing pointers to DMI tables
The dmi_walk function maps the DMI table, walks it, and unmaps it. This means that the dell_bios_hotkey_table that find_hk_type stores points to unmapped memory by the time it gets read. I've been able to trigger crashes caused by the stale pointer a couple of times, but never on a stock kernel. Fix it by generating the keymap in the dmi_walk callback instead of storing a pointer. Signed-off-by: Andy Lutomirski <luto@kernel.org> Acked-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'drivers/watchdog')
0 files changed, 0 insertions, 0 deletions