From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atomicrules-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=apmPBT9NFHmvLX24R4U1DiTmp+uSXR9KNYwn18Hgnjw=; b=gQrUhpN4CVeedweDfEjMgtOAzZU5E383wlSm1hWI73r9gYwtn1WydsSZZijkGx+JSQ a4KkvgywBOcvcxW1uAM5lO2XJgeVkhty4KwCQRynFTuThwcutaLhrcF/T2qxV1Ea7eeZ mB1PPEB9VjMX66FGEV90iW8MBDMBO70PN9yEYYExG9/7690ZWUki1/XiQFjFb4J4ELY3 KDe1YCFi7s/iz1IHzHlwnMgk5ZFmvJXvhHCk+nKYMOLx/fVbppyznIj8B2RtTazDmaG9 kSFkGG3/PN2qQzH8DTU7Tz6C9v1V6c931IpzekGR6BS+ENqKN4WKh0YBlzUuTJ0AxzgL +DkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=apmPBT9NFHmvLX24R4U1DiTmp+uSXR9KNYwn18Hgnjw=; b=kDprLgnZ/v9VbbjW6ETJrUGdWm9fXUqoT734l1eAzUpDL+Q4jWDsLz0bvAHEtazFbJ mXvh4igsMk5zadhzyoSy3mAV11hBNFLNavGJp4TKR1/tjh54AOLaUeGfRJBxseqCTn9U 70yvzP29PGbQBak+QLMJlIBtFEjHjFO4Pr9B9cbyIufeZ3LQfla/ZerwZJVdnRihyTUy xsY2icBSAR4i21o/aspKKCe3+l1gmCgPTzVAA17NMGkhV6+4cH0V9BWsZ3mLob/sy8b0 jWNyBbuk1t8ADCUAZb5UuoSm/asuANR3UzUu2qDZiwhgPHr3d0nHe+LRXtlZh654A96U M/iQ== X-Gm-Message-State: AJcUukfi15O2paykaAVA8STLczUdnYkY7rvfWGbAoh4v8SLNaQ3K3wOC Pn5lx7R2ZVSk4s4JzNQArElzxRTdUHc= X-Google-Smtp-Source: ALg8bN7IOz4dJkBqJx+VYCnBO7cwR2jeo0jCVaR/+Sj0jiBDluQZqjaeyQcbTLodt/VbihAUo5XvMQ== X-Received: by 2002:a37:398e:: with SMTP id g136mr5609778qka.255.1548340619177; Thu, 24 Jan 2019 06:36:59 -0800 (PST) Received: from localhost.localdomain (pool-173-48-117-197.bstnma.fios.verizon.net. [173.48.117.197]) by smtp.gmail.com with ESMTPSA id n62sm28073807qkn.43.2019.01.24.06.36.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 24 Jan 2019 06:36:58 -0800 (PST) From: Ed Czeck To: dev@dpdk.org, thomas@monjalon.net, olivier.matz@6wind.com Cc: reshma.pattan@intel.com, Ed Czeck Date: Thu, 24 Jan 2019 09:36:37 -0500 Message-Id: <1548340597-18556-1-git-send-email-ed.czeck@atomicrules.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH] mbuf: Initialize all fields in struct rte_mbuf_sched X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2019 14:37:00 -0000 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