Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8fcd0950 authored by Thomas VanSelus's avatar Thomas VanSelus Committed by Jon Mason
Browse files

ntb_transport: Pick an unused queue



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

Signed-off-by: default avatarThomas VanSelus <tvanselus@xes-inc.com>
Signed-off-by: default avatarAaron Sierra <asierra@xes-inc.com>
Acked-by: default avatarAllen Hubbe <Allen.Hubbe@dell.com>
Fixes: fce8a7bb ("PCI-Express Non-Transparent Bridge Support")
Signed-off-by: default avatarJon Mason <jdmason@kudzu.us>
parent 9644347c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1802,7 +1802,7 @@ ntb_transport_create_queue(void *data, struct device *client_dev,

	node = dev_to_node(&ndev->dev);

	free_queue = ffs(nt->qp_bitmap);
	free_queue = ffs(nt->qp_bitmap_free);
	if (!free_queue)
		goto err;