aboutsummaryrefslogtreecommitdiff
path: root/drivers/spi/spi-atmel.c
diff options
context:
space:
mode:
authorJohannes Berg2023-04-13 10:44:01 +0300
committerGreg Kroah-Hartman2023-05-11 23:03:22 +0900
commit8e5d05ca152717823b1e4fa8eda2233b195d7304 (patch)
tree910b39b8deff2ecc44a46b4e100bf650a98d090e /drivers/spi/spi-atmel.c
parent6aa401a654fdf2cbff7a0b6aead36069eecc1a15 (diff)
wifi: iwlwifi: debug: fix crash in __iwl_err()
[ Upstream commit 634c7b1bd08ca322537ab389f8cbd7bb543b5e45 ] In __iwl_err(), if we rate-limit the message away, then vaf.va is still NULL-initialized by the time we get to the tracing code, which then crashes. When it doesn't get rate-limited out, it's still wrong to reuse the old args2 that was already printed, which is why we bother making a copy in the first place. Assign vaf.va properly to fix this. Fixes: e5f1cc98cc1b ("iwlwifi: allow rate-limited error messages") Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Link: https://lore.kernel.org/r/20230413102635.e27134c6bcd4.Ib3894cd2ba7a5ad5e75912a7634f146ceaa569e2@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/spi/spi-atmel.c')
0 files changed, 0 insertions, 0 deletions