Skip to contentSkip to conversation

Patch "iwlwifi: mvm: don't use ret when not initialised" has been added to the 4.7-stable tree

PATCH [email protected] 1 participant 1 message Oct 4, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

iwlwifi: mvm: don't use ret when not initialised

to the 4.7-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
iwlwifi-mvm-don-t-use-ret-when-not-initialised.patch
and it can be found in the queue-4.7 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From ff6e58e648ed5f3cc43891767811d5c3c88bbd41 Mon Sep 17 00:00:00 2001

From: Emmanuel Grumbach <[email protected]>
Date: Wed, 3 Aug 2016 22:06:43 +0300
Subject: iwlwifi: mvm: don't use ret when not initialised

From: Emmanuel Grumbach <[email protected]>

commit ff6e58e648ed5f3cc43891767811d5c3c88bbd41 upstream.

fw-dbg code return ret but that variable was either 0 or not initialised. Return 0 always.

Fixes 6a95126763fb ("iwlwifi: mvm: send dbg config hcmds to fw if set in tlv")
---
 drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.c +2 -1
@@ -960,5 +960,6 @@ int iwl_mvm_start_fw_dbg_conf(struct iwl
 	}
 
 	mvm->fw_dbg_conf = conf_id;
-	return ret;
+
+	return 0;
 }

Patches currently in stable-queue which might be from [email protected] are

queue-4.7/iwlwifi-mvm-unmap-the-paging-memory-before-freeing-it.patch queue-4.7/iwlwifi-mvm-don-t-use-ret-when-not-initialised.patch