stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Patch "ntb_transport: Pick an unused queue" has been added to the 4.9-stable tree
@ 2017-02-20 12:33 gregkh
  0 siblings, 0 replies; only message in thread
From: gregkh @ 2017-02-20 12:33 UTC (permalink / raw)
  To: tvanselus, Allen.Hubbe, asierra, gregkh, jdmason; +Cc: stable, stable-commits


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

    ntb_transport: Pick an unused queue

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:
     ntb_transport-pick-an-unused-queue.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 <stable@vger.kernel.org> know about it.


>From 8fcd0950c021d7be8493280541332b924b9de962 Mon Sep 17 00:00:00 2001
From: Thomas VanSelus <tvanselus@xes-inc.com>
Date: Mon, 13 Feb 2017 16:46:26 -0600
Subject: ntb_transport: Pick an unused queue

From: Thomas VanSelus <tvanselus@xes-inc.com>

commit 8fcd0950c021d7be8493280541332b924b9de962 upstream.

Fix typo causing ntb_transport_create_queue to select the first
queue every time, instead of using the next free queue.

Signed-off-by: Thomas VanSelus <tvanselus@xes-inc.com>
Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
Acked-by: Allen Hubbe <Allen.Hubbe@dell.com>
Fixes: fce8a7bb5 ("PCI-Express Non-Transparent Bridge Support")
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/ntb/ntb_transport.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/ntb/ntb_transport.c
+++ b/drivers/ntb/ntb_transport.c
@@ -1799,7 +1799,7 @@ ntb_transport_create_queue(void *data, s
 
 	node = dev_to_node(&ndev->dev);
 
-	free_queue = ffs(nt->qp_bitmap);
+	free_queue = ffs(nt->qp_bitmap_free);
 	if (!free_queue)
 		goto err;
 


Patches currently in stable-queue which might be from tvanselus@xes-inc.com are

queue-4.9/ntb_transport-pick-an-unused-queue.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-20 12:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-20 12:33 Patch "ntb_transport: Pick an unused queue" has been added to the 4.9-stable tree gregkh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).