From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 292E441D32; Tue, 21 Feb 2023 21:09:43 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0D33440691; Tue, 21 Feb 2023 21:09:43 +0100 (CET) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by mails.dpdk.org (Postfix) with ESMTP id B52834067C; Tue, 21 Feb 2023 21:09:41 +0100 (CET) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id A0554320051E; Tue, 21 Feb 2023 15:09:39 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 21 Feb 2023 15:09:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1677010179; x= 1677096579; bh=Gp8FM90W4PxBAxTOtBkTSzC3JVtxpx3Ohf+0L3Altks=; b=Z vY1Bw8j2BM8+T7T1UCQdxk0nHn/z1BwhR1dQ1P4WWfnmh3VAZtYNvtMeWSo0gol0 OF1TfsMwPVD3sJr2KSz1G1uN+xtw8fnBAYFkI9NdmPue7hjEup0rdVqg533VKLxs 3qi3hNYNPa8Qwp8WOycJocVT96v4kScOHvtElgV145GC2HaHrHbKSHdNQpmxRMie BD2tPT81yFb5bBru70mu11GGksCBs6j4omRe8JUDirry979YYfZO0C8n0NcoQd68 QbPfN89Btingy3r43DQpTCtTkAzch3qiQ/pouw5VCw11CWYEYFSHFvu4QMz5lTol XZNTnjiaYj/Utuawvf+AQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1677010179; x= 1677096579; bh=Gp8FM90W4PxBAxTOtBkTSzC3JVtxpx3Ohf+0L3Altks=; b=G wlXQKCIuPRzJKtVuujdAyBy+5VDwcxG3l8Iwvv6zAO79q10w+RqJ6vOq0fgZCOFd 58kruqjkXSA6DuCNmV2onL0cLWTYUPGNeUFWDryJ8LdLgHitypLfNGy5rcsMcr3U mK4D4We+xdFP4oMC7KVrJ4D5u4lAYAUydsWd1Srfx2Z3l3peapcaQOPV69d81lnY nODjFs9FnE3QbN5mKEnHUeRCoLA7QTLYASQvu7kpz9GzgQ4dtZT+E4kXjUmJRKi5 2i+1RIHzQFgzt5vHln1Eox6iZTDSyFhLg1wfgtV+5Nh3RFLYKXkL+npK8fs92Yfs 7yglTLpsAZ7AcBkQVR9vA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudejjedgudefudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhho mhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqne cuggftrfgrthhtvghrnheptdejieeifeehtdffgfdvleetueeffeehueejgfeuteeftddt ieekgfekudehtdfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 21 Feb 2023 15:09:37 -0500 (EST) From: Thomas Monjalon To: Rongwei Liu Cc: dev@dpdk.org, matan@nvidia.com, viacheslavo@nvidia.com, orika@nvidia.com, rasland@nvidia.com, stable@dpdk.org, gaodaxue , Aman Singh , Yuying Zhang Subject: Re: [PATCH v2] app/testpmd: fix flex item compilation error Date: Tue, 21 Feb 2023 21:09:34 +0100 Message-ID: <17114272.5WZRyvrzyv@thomas> In-Reply-To: <20230221100201.361765-1-rongweil@nvidia.com> References: <20230221100201.361765-1-rongweil@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 21/02/2023 11:02, Rongwei Liu: > When configuring meson with option "--optimization=1", gcc > complains "maybe-uninitialized" warning and it was treated as > error since Werror is enabled. > > Assign fp to NULL at declaration can avoid this. That's probably a false positive, but I'm OK to workaround it this way, especially in a test application. > Bugzilla ID: 1163 > Fixes: c8e25fbf1440 ("ethdev: add flow flex modify") > Cc: stable@dpdk.org > > Reported-by: gaodaxue > Signed-off-by: Rongwei Liu > --- > - struct flex_item *fp; > + struct flex_item *fp = NULL; Applied, thanks.