]> git.ipfire.org Git - people/arne_f/kernel.git/commit
iwlwifi: check kasprintf() return value
authorJohannes Berg <johannes.berg@intel.com>
Tue, 5 Nov 2019 13:50:32 +0000 (14:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Dec 2019 11:37:46 +0000 (12:37 +0100)
commit7a7f55f4cff4c0723b00e9ac11a30ce407f71f53
treeb8c0240d27b9ef17a787ee55ee3ee6af2a5163a7
parent21f32d7121560ed0c79fb6887682e731b9839161
iwlwifi: check kasprintf() return value

[ Upstream commit 5974fbb5e10b018fdbe3c3b81cb4cc54e1105ab9 ]

kasprintf() can fail, we should check the return value.

Fixes: 5ed540aecc2a ("iwlwifi: use mac80211 throughput trigger")
Fixes: 8ca151b568b6 ("iwlwifi: add the MVM driver")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/intel/iwlwifi/dvm/led.c
drivers/net/wireless/intel/iwlwifi/mvm/led.c