linux/drivers/net/wireless/intel/iwlwifi
Jens Axboe 92549cdc28 iwlwifi: fix kernel crash when unregistering thermal zone
A recent firmware change seems to have enabled thermal zones on the
iwlwifi driver. Unfortunately, my device fails when registering the
thermal zone. This doesn't stop the driver from attempting to unregister
the thermal zone at unload time, triggering a NULL pointer deference in
strlen() off the thermal_zone_device_unregister() path.

Don't unregister if name is NULL, for that case we failed registering.
Do the same for the cooling zone.

Signed-off-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2017-01-21 14:58:37 +02:00
..
dvm Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
mvm iwlwifi: fix kernel crash when unregistering thermal zone 2017-01-21 14:58:37 +02:00
pcie iwlwifi: use reset to set transport header 2016-12-03 15:49:16 -05:00
iwl-1000.c iwlwifi: make configuration structs smaller 2016-05-10 22:34:06 +03:00
iwl-2000.c iwlwifi: make configuration structs smaller 2016-05-10 22:34:06 +03:00
iwl-5000.c iwlwifi: make configuration structs smaller 2016-05-10 22:34:06 +03:00
iwl-6000.c iwlwifi: make configuration structs smaller 2016-05-10 22:34:06 +03:00
iwl-7000.c iwlwifi: remove support for fw older than -17 and -22 2016-09-26 23:15:14 +03:00
iwl-8000.c iwlwifi: remove support for fw older than -17 and -22 2016-09-26 23:15:14 +03:00
iwl-9000.c iwlwifi: remove support for fw older than -17 and -22 2016-09-26 23:15:14 +03:00
iwl-a000.c iwlwifi: mvm: bump max API to 26 2016-09-16 09:10:31 +03:00
iwl-agn-hw.h
iwl-config.h iwlwifi: mvm: cleanup redundant no_power_up_nic_in_init config 2016-09-22 23:13:29 +03:00
iwl-csr.h iwlwifi: pcie: Configure shared interrupt vector in MSIX mode 2016-09-16 09:10:24 +03:00
iwl-debug.c
iwl-debug.h iwlwifi: add missing type declaration 2016-07-12 14:51:57 +03:00
iwl-devtrace-data.h
iwl-devtrace-io.h iwlwifi: centralize 64 bit HW registers write 2016-07-06 10:22:08 +03:00
iwl-devtrace-iwlwifi.h
iwl-devtrace-msg.h
iwl-devtrace-ucode.h
iwl-devtrace.c iwlwifi: don't export trace points that are used in iwlwifi only 2016-09-19 10:09:41 +03:00
iwl-devtrace.h iwlwifi: tracing: decouple from mac80211 2016-07-06 10:08:56 +03:00
iwl-drv.c * work on DQA continued 2016-07-08 12:20:30 +03:00
iwl-drv.h
iwl-eeprom-parse.c iwlwifi: advertise maximal MPDU length when Rx MQ is supported 2016-07-01 16:51:22 +03:00
iwl-eeprom-parse.h iwlwifi: decouple PCIe transport from mac80211 2016-07-06 10:09:56 +03:00
iwl-eeprom-read.c
iwl-eeprom-read.h
iwl-fh.h iwlwifi: change byte count table for a000 devices 2016-09-16 09:10:22 +03:00
iwl-fw-error-dump.h iwlwifi: Reserve iwl_fw_error_dump_type enum 2016-07-06 02:07:48 +03:00
iwl-fw-file.h linux: drop __bitwise__ everywhere 2016-12-16 00:13:41 +02:00
iwl-fw.h iwlwifi: unify iwl_get_ucode_image() implementations 2016-09-16 09:10:32 +03:00
iwl-io.c iwlwifi: fix semicolon.cocci warnings 2016-09-15 19:32:59 +03:00
iwl-io.h iwlwifi: centralize 64 bit HW registers write 2016-07-06 10:22:08 +03:00
iwl-modparams.h iwlwifi: decouple PCIe transport from mac80211 2016-07-06 10:09:56 +03:00
iwl-notif-wait.c iwlwifi: move to wide ID for all commands 2016-09-19 10:09:39 +03:00
iwl-notif-wait.h
iwl-nvm-parse.c iwlwifi: move BIOS MCC retrieval to common code 2016-09-19 10:09:37 +03:00
iwl-nvm-parse.h iwlwifi: move BIOS MCC retrieval to common code 2016-09-19 10:09:37 +03:00
iwl-op-mode.h
iwl-phy-db.c iwlwifi: mvm: set HCMD_NAME for PHY_DB as well 2016-09-19 11:29:33 +03:00
iwl-phy-db.h
iwl-prph.h iwlwifi: pcie: remove dead code 2016-08-30 14:16:43 +03:00
iwl-scd.h
iwl-trans.c iwlwifi: migrate to devm_* API 2016-09-19 10:09:42 +03:00
iwl-trans.h iwlwifi: move to wide ID for all commands 2016-09-19 10:09:39 +03:00
Kconfig iwlwifi: remove IWLWIFI_DEBUG_EXPERIMENTAL_UCODE 2016-05-10 22:34:05 +03:00
Makefile Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00