2021-01-12 13:29:08

by Takashi Iwai

[permalink] [raw]
Subject: [PATCH 0/2] iwlwifi: Fix a crash at loading

Hi,

this is the fix for the recently introduced regression of iwlwifi
driver (since 5.10), a crash at the module loading [1][2].
The first patch actually fixes the bug, and this should go to 5.11-rc.
The second patch is an enhancement to make pointers const for safety.


Takashi

[1] https://bugzilla.suse.com/show_bug.cgi?id=1180344
[2] https://bugzilla.kernel.org/show_bug.cgi?id=210733

===

Takashi Iwai (2):
iwlwifi: dbg: Don't touch the tlv data
iwlwifi: dbg: Mark ucode tlv data as const

.../net/wireless/intel/iwlwifi/iwl-dbg-tlv.c | 57 +++++++++----------
.../net/wireless/intel/iwlwifi/iwl-dbg-tlv.h | 2 +-
drivers/net/wireless/intel/iwlwifi/iwl-drv.c | 2 +-
3 files changed, 28 insertions(+), 33 deletions(-)

--
2.26.2