diff options
author | 2021-01-12 14:24:48 +0100 | |
---|---|---|
committer | 2021-01-14 18:56:37 +0200 | |
commit | a6616bc9a0af7c65c0b0856a7508870a4a40c4ac (patch) | |
tree | 027f4e16933f06fb53902f04872abfd84512dc9a /net/lapb/lapb_timer.c | |
parent | mt76: Fix queue ID variable types after mcu queue split (diff) | |
download | wireguard-linux-a6616bc9a0af7c65c0b0856a7508870a4a40c4ac.tar.xz wireguard-linux-a6616bc9a0af7c65c0b0856a7508870a4a40c4ac.zip |
iwlwifi: dbg: Don't touch the tlv data
The commit ba8f6f4ae254 ("iwlwifi: dbg: add dumping special device
memory") added a termination of name string just to be sure, and this
seems causing a regression, a GPF triggered at firmware loading.
Basically we shouldn't modify the firmware data that may be provided
as read-only.
This patch drops the code that caused the regression and keep the tlv
data as is.
Fixes: ba8f6f4ae254 ("iwlwifi: dbg: add dumping special device memory")
BugLink: https://bugzilla.suse.com/show_bug.cgi?id=1180344
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=210733
Cc: stable@vger.kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210112132449.22243-2-tiwai@suse.de
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions