From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 6A9971B676 for ; Tue, 30 Jan 2018 17:49:39 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id C8ADE210AF; Tue, 30 Jan 2018 11:49:38 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Tue, 30 Jan 2018 11:49:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=mUIheGcliykRnM6D/HBjMya2ra AKObKZ3+ZBXP6hezw=; b=Cm4rU7oZDXnoqvjZdX21ONkJsVPPgRKXth3yGA8DM8 4MCYK6Ff9JapIy7cZhL1GzFDzwINbslWAS/1PeJSZbM2AUQEPj7plh+K8ZMrmRr7 V+03FNUK8pbD8vDlCOiqRufdy+airTlHC+k3lGLSYX4XSbIyo3cpHjKg8Z4IUgq9 E= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=mUIheG cliykRnM6D/HBjMya2raAKObKZ3+ZBXP6hezw=; b=mUk1OLeFljopq7CRQ8lEVh vKLuMqHHjSegArU8aSLTsJUFa89F22AseC5FXKlAgBb10O+t0Z6zyAMDwG38zDht 4WwLSjcgKNLKh3IVM0z9taSD3SuyrDtnwP4LQeVtBNLmVH1sxVN2665YAhRGqbrs aUmWBnWk4jXxykNmfEL77JKPGSlNvxN8RqQjFfVa1mfPQAXpWsNoPrIcvPzvO2i8 HsuJezsY9MnoVXyzH4m5HCTSKOZdicxPuJ82CgCYCNOScT2cwdvk8fuzCKRnCKjw DH4BJFB7FccuYVVOXDG23ylTQ/6C1FTKN1x8eMYSfIIStqwbPmB8eUWOr42lm+/w == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 6A6DC7E3DF; Tue, 30 Jan 2018 11:49:38 -0500 (EST) From: Thomas Monjalon To: Shreyansh Jain Cc: dev@dpdk.org, hemant.agrawal@nxp.com, fiona.trahe@intel.com, rosen.xu@intel.com Date: Tue, 30 Jan 2018 17:48:52 +0100 Message-ID: <2892484.97oeajBaN7@xps> In-Reply-To: <20180130145710.24757-8-shreyansh.jain@nxp.com> References: <20180123135910.10755-1-shreyansh.jain@nxp.com> <20180130145710.24757-1-shreyansh.jain@nxp.com> <20180130145710.24757-8-shreyansh.jain@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3 07/11] drivers/raw: introduce skeleton rawdev driver 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: Tue, 30 Jan 2018 16:49:39 -0000 There is a compilation error with clang-5.0: 30/01/2018 15:57, Shreyansh Jain: > +struct queue_buffers { > + void *bufs[SKELETON_QUEUE_MAX_DEPTH]; > +}; > + > +static struct queue_buffers queue_buf[SKELETON_MAX_QUEUES] = {0}; drivers/raw/skeleton_rawdev/skeleton_rawdev.c:46:63: fatal error: suggest braces around initialization of subobject [-Wmissing-braces] static struct queue_buffers queue_buf[SKELETON_MAX_QUEUES] = {0};