Re: PROBLEM: NULL pointer dereference in dell_set_arguments() in 4.15
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: PROBLEM: NULL pointer dereference in dell_set_arguments() in 4.15
- From: Alexander Sergeyev <sergeev917@xxxxxxxxx>
- Date: Sun, 4 Feb 2018 19:29:54 +0300
- Cc: Mario.Limonciello@xxxxxxxx, dvhart@xxxxxxxxxxxxx, andy@xxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, mjg59@xxxxxxxxxxxxx, platform-driver-x86@xxxxxxxxxxxxxxx
- In-reply-to: <20180204121530.sl3h77mxbwusp2ul@pali>
- References: <20180203162021.GA4571@localhost.localdomain> <e489f5ee-34e5-4777-afe7-38d31d2ad3fd@Dell.com> <20180204092333.GA2010@localhost.localdomain> <20180204121530.sl3h77mxbwusp2ul@pali>
- User-agent: mtt
To make dell_micmute_led_set() work properly we need to ensure that either WMI
or SMM driver is already loaded and initialized.
From the looks of the call trace dell_micmute_led_set() is called from device
phase of initialization. Which means that there is a use of dell-laptop
interface while the module is not initialized (since late_initcall).
Previously, this led to crashes.
But dell_micmute_led_set() does not touch the module state now, so nothing is
technically broken; dell-smbios and dell-smbios-smm use subsys_initcall, so
they are ready. But WMI driver is in the same phase with intel hda, so there
might be something there.
[Index of Archives]
[Linux Kernel Development]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Yosemite News]
[Linux Kernel]
[Linux SCSI]