From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f42.google.com (mail-pg0-f42.google.com [74.125.83.42]) by dpdk.org (Postfix) with ESMTP id DB4F65A8D for ; Fri, 17 Mar 2017 17:13:46 +0100 (CET) Received: by mail-pg0-f42.google.com with SMTP id 21so11427701pgg.1 for ; Fri, 17 Mar 2017 09:13:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oup7B/6gXhcB7DYuZoAA9AGE0f1d6sYkwM1Ou5J1wYw=; b=TByFhvam4G+KasqE7Aj9SAtsM3LKZOkMng8e9aFmDQZteu5Jkekc2gfpzv9ZWsLRQ8 JMyOkFPfoPS/X44FGf88fc1S4lTuDNzv0KV7LMNIBI/X3yeSK5EhIAP4c686RvU9qKLo Zf4ccLcb4JMU9aLgID0V0jngG8hTHDZTSoHGqxdkQ1ODaqPLJ/saP3/aOcxPwOpkJdOw kKRAUjSQnhiIImYH5iKdxJ0okdOX5VUIlx3vZgRoS+UFd6KrDGc77ttKhBYFuQQUFwEO suo+CgJJI+YDoWbgdxcEKP+zQcBI8XOqpP56qjMDmWNoBR+JKCiqcFuSYjHQLmvL1QDy HT1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oup7B/6gXhcB7DYuZoAA9AGE0f1d6sYkwM1Ou5J1wYw=; b=GiulBBo0+xXDpbIQVB0Jwvj2lAMVN9MXMRU9uEA5qJGTtF4zDk28CM9gOop8IMJwgE ynFA6JBxXi09/9fO/8y43CNV0qWMKEE4oho0/Ko3ZGs7lJSXvtnIobkr7iyPiziyJCNK GXBnMb4AW/AqfJ7rBMBsuN6dZvAtsgwQoRMvLLi5CG9McRo/vScv2LSqqPTXB3qfMqHP w0SAOYwcT4m0nKY4ZlJCh/q6cvDlbCM5Rp+eWc9rEtEtH2xdRGhvPLJIoVRTx6ZqPfJv MHI3OD2gLiObSyGXXDUMn9lmivnhH7DafczqXDpOjJwmcEbtVQXfG1M47sA7E+jO3rSv 5YRg== X-Gm-Message-State: AFeK/H0mS+zbN9BMDQJ+lGTqPKAys9rKXJU5PKNNr7w5XAKiVIQf01biekHf3TEvJ0EMrQ== X-Received: by 10.84.168.4 with SMTP id e4mr21371245plb.138.1489767226145; Fri, 17 Mar 2017 09:13:46 -0700 (PDT) Received: from xeon-e3 (204-195-18-65.wavecable.com. [204.195.18.65]) by smtp.gmail.com with ESMTPSA id 187sm17712836pff.17.2017.03.17.09.13.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 17 Mar 2017 09:13:46 -0700 (PDT) Date: Fri, 17 Mar 2017 09:13:38 -0700 From: Stephen Hemminger To: Olivier Matz Cc: dev@dpdk.org, thomas.monjalon@6wind.com, david.marchand@6wind.com, bruce.richardson@intel.com, keith.wiles@intel.com Message-ID: <20170317091338.27f79f1b@xeon-e3> In-Reply-To: <1489765882-30497-2-git-send-email-olivier.matz@6wind.com> References: <1486387756-16865-1-git-send-email-olivier.matz@6wind.com> <1489765882-30497-1-git-send-email-olivier.matz@6wind.com> <1489765882-30497-2-git-send-email-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 1/8] eal: support dynamic log types 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: Fri, 17 Mar 2017 16:13:47 -0000 On Fri, 17 Mar 2017 16:51:15 +0100 Olivier Matz wrote: > + .dynamic_types_len = 0, > + .dynamic_types = NULL, > }; > You don't need to add elements to initializer if the are 0.