From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3 07/11] drivers/raw: introduce skeleton rawdev driver Date: Tue, 30 Jan 2018 17:48:52 +0100 Message-ID: <2892484.97oeajBaN7@xps> 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, hemant.agrawal@nxp.com, fiona.trahe@intel.com, rosen.xu@intel.com To: Shreyansh Jain 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) In-Reply-To: <20180130145710.24757-8-shreyansh.jain@nxp.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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};