All of lore.kernel.org
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 1/5] raw/dpaa2_qdma: fix spin lock release condition
@ 2019-04-24 11:45 Hemant Agrawal
  2019-04-24 11:45 ` [dpdk-dev] [PATCH 2/5] raw/dpaa2_qdma: fix spin lock Hemant Agrawal
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Hemant Agrawal @ 2019-04-24 11:45 UTC (permalink / raw)
  To: dev; +Cc: shreyansh.jain, stable

The code shall be unlock post the lock.

Fixes: c22fab9a6c34 ("raw/dpaa2_qdma: support configuration APIs")
Cc: stable@dpdk.org

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
---
 drivers/raw/dpaa2_qdma/dpaa2_qdma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c
index a41c1e385..102d423c6 100644
--- a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c
+++ b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c
@@ -984,7 +984,7 @@ rte_qdma_vq_destroy(uint16_t vq_id)
 
 	memset(qdma_vq, 0, sizeof(struct qdma_virt_queue));
 
-	rte_spinlock_lock(&qdma_dev.lock);
+	rte_spinlock_unlock(&qdma_dev.lock);
 
 	return 0;
 }
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-05-02 21:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-24 11:45 [dpdk-dev] [PATCH 1/5] raw/dpaa2_qdma: fix spin lock release condition Hemant Agrawal
2019-04-24 11:45 ` [dpdk-dev] [PATCH 2/5] raw/dpaa2_qdma: fix spin lock Hemant Agrawal
2019-04-24 11:45 ` [dpdk-dev] [PATCH 3/5] net/dpaa2: fix the loopback spelling Hemant Agrawal
2019-04-24 11:45 ` [dpdk-dev] [PATCH 4/5] doc: update the dpaaX platform guides Hemant Agrawal
2019-05-02 15:56   ` Mcnamara, John
2019-04-24 11:45 ` [dpdk-dev] [PATCH 5/5] raw/dpaa2_cmdif: remove driver name assignment Hemant Agrawal
2019-05-02 21:31 ` [dpdk-dev] [dpdk-stable] [PATCH 1/5] raw/dpaa2_qdma: fix spin lock release condition Thomas Monjalon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.