ntb_transport: Pick an unused queue
authorThomas VanSelus <tvanselus@xes-inc.com>
Mon, 13 Feb 2017 22:46:26 +0000 (16:46 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Feb 2017 16:43:10 +0000 (17:43 +0100)
commitaee7d0412f170f6c38a2b61bb826ceaa037c31cf
tree4f81978e19a95a77689c67ccfd4366e509dba979
parentc6c6851adbaf002038aa2acdfdb9c53434a0b80d
ntb_transport: Pick an unused queue

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