patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH 1/3] eal/linuxapp: fix invalid syntax in interrupts
@ 2018-06-01  9:08 Anatoly Burakov
  2018-06-01  9:08 ` [dpdk-stable] [PATCH 2/3] eal/linux: fix uninitialized value Anatoly Burakov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Anatoly Burakov @ 2018-06-01  9:08 UTC (permalink / raw)
  To: dev; +Cc: ferruh.yigit, stable

Parentheses were missing. It worked because macro is enclosed in
parentheses, so syntax was valid after macro expansion.

Bugzilla ID: 58
Fixes: 0a45657a6794 ("pci: rework interrupt handling")
Cc: stable@dpdk.org

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
---
 lib/librte_eal/linuxapp/eal/eal_interrupts.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/librte_eal/linuxapp/eal/eal_interrupts.c b/lib/librte_eal/linuxapp/eal/eal_interrupts.c
index 056d41c12..a631124d3 100644
--- a/lib/librte_eal/linuxapp/eal/eal_interrupts.c
+++ b/lib/librte_eal/linuxapp/eal/eal_interrupts.c
@@ -420,7 +420,7 @@ rte_intr_callback_register(const struct rte_intr_handle *intr_handle,
 	TAILQ_FOREACH(src, &intr_sources, next) {
 		if (src->intr_handle.fd == intr_handle->fd) {
 			/* we had no interrupts for this */
-			if TAILQ_EMPTY(&src->callbacks)
+			if (TAILQ_EMPTY(&src->callbacks))
 				wake_thread = 1;
 
 			TAILQ_INSERT_TAIL(&(src->callbacks), callback, next);
-- 
2.17.0

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

end of thread, other threads:[~2018-07-13  9:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-01  9:08 [dpdk-stable] [PATCH 1/3] eal/linuxapp: fix invalid syntax in interrupts Anatoly Burakov
2018-06-01  9:08 ` [dpdk-stable] [PATCH 2/3] eal/linux: fix uninitialized value Anatoly Burakov
2018-06-01  9:08 ` [dpdk-stable] [PATCH 3/3] vfio: fix uninitialized variable Anatoly Burakov
2018-07-13  9:45 ` [dpdk-stable] [dpdk-dev] [PATCH 1/3] eal/linuxapp: fix invalid syntax in interrupts 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).