patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH 1/5] raw/dpaa2_qdma: fix spin lock release condition
@ 2019-04-24 11:45 Hemant Agrawal
  2019-04-24 11:45 ` [dpdk-stable] [PATCH 3/5] net/dpaa2: fix the loopback spelling Hemant Agrawal
  2019-05-02 21:31 ` [dpdk-stable] [PATCH 1/5] raw/dpaa2_qdma: fix spin lock release condition Thomas Monjalon
  0 siblings, 2 replies; 3+ 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	[flat|nested] 3+ messages in thread

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-24 11:45 [dpdk-stable] [PATCH 1/5] raw/dpaa2_qdma: fix spin lock release condition Hemant Agrawal
2019-04-24 11:45 ` [dpdk-stable] [PATCH 3/5] net/dpaa2: fix the loopback spelling Hemant Agrawal
2019-05-02 21:31 ` [dpdk-stable] [PATCH 1/5] raw/dpaa2_qdma: fix spin lock release condition Thomas Monjalon

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).