Skip to contentSkip to conversation

Patch "iwlwifi: pcie: don't increment / decrement a bool" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message May 9, 2017

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: pcie: don't increment / decrement a bool

to the 4.9-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-pcie-don-t-increment-decrement-a-bool.patch
and it can be found in the queue-4.9 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 04fa3e680b4dd2fdd11d0152fb9b6067e7aac140 Mon Sep 17 00:00:00 2001

From: Emmanuel Grumbach <[email protected]>
Date: Sat, 7 Jan 2017 20:11:47 +0200
Subject: iwlwifi: pcie: don't increment / decrement a bool

From: Emmanuel Grumbach <[email protected]>

commit 04fa3e680b4dd2fdd11d0152fb9b6067e7aac140 upstream.

David reported that the code I added uses the decrement and increment operator on a boolean variable.

Fix that.

Fixes 0cd58eaab148 ("iwlwifi: pcie: allow the op_mode to block the tx queues")
---
 drivers/net/wireless/intel/iwlwifi/pcie/internal.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/intel/iwlwifi/pcie/internal.h +1 -1
@@ -279,7 +279,7 @@ struct iwl_txq {
 	bool frozen;
 	u8 active;
 	bool ampdu;
-	bool block;
+	int block;
 	unsigned long wd_timeout;
 	struct sk_buff_head overflow_q;
 

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

queue-4.9/iwlwifi-pcie-trans-remove-unused-shift_param.patch queue-4.9/iwlwifi-pcie-don-t-increment-decrement-a-bool.patch