From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ed Czeck Subject: [PATCH] mbuf: Initialize all fields in struct rte_mbuf_sched Date: Thu, 24 Jan 2019 09:36:37 -0500 Message-ID: <1548340597-18556-1-git-send-email-ed.czeck@atomicrules.com> Cc: reshma.pattan@intel.com, Ed Czeck To: dev@dpdk.org, thomas@monjalon.net, olivier.matz@6wind.com Return-path: Received: from mail-qk1-f193.google.com (mail-qk1-f193.google.com [209.85.222.193]) by dpdk.org (Postfix) with ESMTP id 44136322C for ; Thu, 24 Jan 2019 15:37:00 +0100 (CET) Received: by mail-qk1-f193.google.com with SMTP id q1so3305638qkf.13 for ; Thu, 24 Jan 2019 06:37:00 -0800 (PST) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" g++ reports "error: missing initializer for member" Fixes: 5d3f72100904 (mbuf: implement generic format for sched field) Signed-off-by: Ed Czeck --- lib/librte_mbuf/rte_mbuf.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index d716294..a7f6702 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib/librte_mbuf/rte_mbuf.h @@ -2464,6 +2464,7 @@ rte_mbuf_sched_set(struct rte_mbuf *m, uint32_t queue_id, .queue_id = queue_id, .traffic_class = traffic_class, .color = color, + .reserved = 0, }; } -- 2.7.4