android_kernel_xiaomi_sm8350/drivers/misc
Arjan van de Ven 83097aca85 Fix oops in acer_wmi driver (acer_wmi_init)
The acer_wmi driver does a DMI scan for quirks, and then sets flags into the
"interface" datastructure for some cases. However, the quirks happen real early
before "interface" is per se initialized from NULL.

The patch below 1) adds a NULL pointer check and 2) (re)runs the quirks at the
end, when "interface" has it's final value.

Reported-by: kerneloops.org
Acked-by: Carlos Corbacho <carlos@strangeworlds.co.uk>
CC: stable@vger.kernel.org
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-08-23 21:54:00 -07:00
..
hdpuftrs hdpu_cpustate: BKL pushdown 2008-06-20 14:05:57 -06:00
ibmasm drivers/misc: replace remaining __FUNCTION__ occurrences 2008-04-29 08:06:03 -07:00
sgi-gru GRU: fix preprocessor symbol for sparse 2008-08-12 16:07:29 -07:00
sgi-xp sgi-xp: setup the notify GRU message queue 2008-07-30 09:41:50 -07:00
acer-wmi.c Fix oops in acer_wmi driver (acer_wmi_init) 2008-08-23 21:54:00 -07:00
asus-laptop.c
atmel_pwm.c atmel_pwm: set up only one PWM clock when allocating a clock 2008-07-24 10:47:25 -07:00
atmel_tclib.c
atmel-ssc.c drivers/misc/atmel-ssc.c: Removed duplicated include 2008-07-24 14:06:51 +02:00
compal-laptop.c compal-laptop: remove unnecessary lcd_level attribute 2008-07-16 23:27:01 +02:00
eeepc-laptop.c eeepc-laptop: fix use after free 2008-08-20 15:40:30 -07:00
eeprom_93cx6.c removed unused #include <linux/version.h>'s 2008-08-23 12:14:12 -07:00
enclosure.c
fujitsu-laptop.c Fujitsu-laptop update 2008-07-16 23:27:01 +02:00
hp-wmi.c misc: add HP WMI laptop extras driver 2008-07-25 10:53:28 -07:00
hpilo.c HP iLO driver 2008-07-21 21:55:02 -07:00
hpilo.h HP iLO driver 2008-07-21 21:55:02 -07:00
intel_menlow.c intel_menlo: fix build warning 2008-04-29 12:24:24 -04:00
ioc4.c drivers/misc: replace remaining __FUNCTION__ occurrences 2008-04-29 08:06:03 -07:00
Kconfig [IA64] Fix uniprocessor build w.r.t. SGI_XP and SGI_GRU 2008-08-04 13:39:28 -07:00
kgdbts.c kgdbts: Use HW breakpoints with CONFIG_DEBUG_RODATA 2008-05-28 12:49:57 -05:00
lkdtm.c
Makefile GRU Driver: driver/misc Makefile & Kconfig changes 2008-07-30 09:41:48 -07:00
msi-laptop.c
phantom.c drivers/misc/phantom: note PCI 2008-07-25 10:53:44 -07:00
sony-laptop.c sony-laptop: BKL pushdown 2008-07-02 15:06:25 -06:00
tc1100-wmi.c
thinkpad_acpi.c ACPI: thinkpad-acpi: don't misdetect in get_thinkpad_model_data() on -ENOMEM 2008-07-21 09:15:51 -03:00
tifm_7xx1.c
tifm_core.c