All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ixgbe: fix compile error with gcc4.4 (used RHEL 6)
@ 2014-09-18 10:55 Bruce Richardson
       [not found] ` <1411037752-8000-1-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 17+ messages in thread
From: Bruce Richardson @ 2014-09-18 10:55 UTC (permalink / raw)
  To: dev-VfR2kkLFssw

The refcnt field is contained within an anonymous union within the mbuf
data structure, and gcc 4.4 gives an error about an unknown field unless
the initialiser for the field is contained within extra braces.

Signed-off-by: Bruce Richardson <bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
---
 lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c b/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c
index a6f7fdf..203ddf7 100644
--- a/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c
+++ b/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c
@@ -723,7 +723,7 @@ ixgbe_rxq_vec_setup(struct igb_rx_queue *rxq)
 		.nb_segs = 1,
 		.data_off = RTE_PKTMBUF_HEADROOM,
 #ifdef RTE_MBUF_REFCNT
-		.refcnt = 1,
+		{ .refcnt = 1, }
 #endif
 	};
 
-- 
1.9.3

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

end of thread, other threads:[~2014-09-26  9:23 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-18 10:55 [PATCH] ixgbe: fix compile error with gcc4.4 (used RHEL 6) Bruce Richardson
     [not found] ` <1411037752-8000-1-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-09-18 11:09   ` Thomas Monjalon
2014-09-18 12:25     ` Neil Horman
     [not found]       ` <20140918122527.GE20389-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2014-09-18 12:35         ` Richardson, Bruce
     [not found]           ` <59AF69C657FD0841A61C55336867B5B0343F3406-kPTMFJFq+rELt2AQoY/u9bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-09-18 15:03             ` Neil Horman
     [not found]               ` <20140918150312.GF20389-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2014-09-18 15:16                 ` Bruce Richardson
2014-09-18 15:46                   ` Neil Horman
2014-09-18 15:38                 ` Thomas Monjalon
2014-09-18 15:50                   ` Neil Horman
     [not found]                     ` <20140918155044.GI20389-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2014-09-18 16:01                       ` Richardson, Bruce
     [not found]                         ` <59AF69C657FD0841A61C55336867B5B0343F358D-kPTMFJFq+rELt2AQoY/u9bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-09-18 18:12                           ` Neil Horman
2014-09-25  2:13   ` Tang, HaifengX
     [not found]     ` <DF029FFF923C334FAA58CEEB2979DCA6014651D9-0J0gbvR4kTggGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-09-25  7:02       ` Thomas Monjalon
2014-09-25 13:07         ` Cao, Waterman
     [not found]           ` <AA3F441F262C58498CD6D0C1801DE7EB0AB7DCC9-0J0gbvR4kTggGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-09-25 15:05             ` patches validation Thomas Monjalon
2014-09-25 23:29               ` Ananyev, Konstantin
     [not found]                 ` <2601191342CEEE43887BDE71AB9772582137AB66-kPTMFJFq+rGvNW/NfzhIbrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-09-26  9:23                   ` 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.