From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by dpdk.org (Postfix) with ESMTP id 1E6C77E7B for ; Wed, 22 Oct 2014 10:28:58 +0200 (CEST) Received: by mail-wi0-f172.google.com with SMTP id bs8so657222wib.11 for ; Wed, 22 Oct 2014 01:37:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=a+oeWhM/kyGSlmJBZLO87P7jss4eD9ddp9shgvevUjU=; b=CL9dmG93Jxk7ivHBVln8sa81WXBG+H7zcpuHtXeKNJfNxTgwhYNHbpSGfVkTH3keB7 X942BYQkdMOU+32Ngpw2JCP4tUO3wM065uDF+QESS0MEKeIwwMfZrHhmNN/8RVKAtEB7 6UY6coILo6P+satV8dB+FQvf3tskQV6C2PdImYJGPp1KKKjbtcWYcxiaZeXg1R4E6u/4 uU0bULCK7kl6ubqd421RGM/BW1C49Ze8ICgO3WtnFIMmqYPKEYtti60Ong+5KVlOZn62 Qmfc1S+qXE6br+pOVRY6c/bNTm9y2w++BdpyiF6i+Jh0TtviTrVjKug2TIcE7lqhdfov pPsQ== X-Gm-Message-State: ALoCoQmQdgA0PxUplUrUfhlGK3EeeCfaSVscoVW6VmtR5EbneUMmrGif6dbt3r2dMm/AfDTDJfY5 X-Received: by 10.194.243.164 with SMTP id wz4mr1227620wjc.129.1413967037608; Wed, 22 Oct 2014 01:37:17 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id u2sm18061106wjz.11.2014.10.22.01.37.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Oct 2014 01:37:16 -0700 (PDT) Date: Wed, 22 Oct 2014 01:37:16 -0700 (PDT) X-Google-Original-Date: Wed, 22 Oct 2014 10:37 +0200 From: Thomas Monjalon To: Marc Sune Message-ID: <2234340.4n5qb1rBlX@xps13> Organization: 6WIND User-Agent: KMail/4.14.1 (Linux/3.16.4-1-ARCH; KDE/4.14.1; x86_64; ; ) In-Reply-To: <1413961851-13230-1-git-send-email-marc.sune@bisdn.de> References: <1ED644BD7E0A5F4091CF203DAFB8E4CC01D8288F@SHSMSX101.ccr.corp.intel.com> <1413961851-13230-1-git-send-email-marc.sune@bisdn.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] KNI: fix compilation warning 'missing-field-initializers' X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2014 08:28:58 -0000 2014-10-22 09:10, Marc Sune: > Fix for compilation warning 'missing-field-initializers' for some > GCC and clang versions introduced in commit 0c6bc8e > > Signed-off-by: Marc Sune It's not needed to initialize all fields. This should be sufficient: +static struct rte_kni_memzone_pool kni_memzone_pool = {.initialized = 0}; -- Thomas