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 E61B6A00BE for ; Thu, 10 Mar 2022 10:39:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DCB1E4114A; Thu, 10 Mar 2022 10:39:38 +0100 (CET) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by mails.dpdk.org (Postfix) with ESMTP id B3DFF4113E; Thu, 10 Mar 2022 10:39:35 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 8DA12320167D; Thu, 10 Mar 2022 04:39:34 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 10 Mar 2022 04:39:35 -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; bh=g1q5O3XYcUWxS3 waVYUFi7fLmnjhm8aN58BlDP4ME/A=; b=J2bxsmnVs6zTgyGAhoLxheHJzL3vmS cJKriK6dX48WljMopKQmphq7nNPsB+qcwn3CJ+kYye+cBxRMhPsw6nbf/JZXYmc2 XbNUz5WBE4HVtj2xFXy751NI6gSdfnoWFsmPiPwpFoNLiusFtY0dNx0CJtrupAY2 IURzkjtIiZ0tnxrpB6YUFUobQWscn0SG4HUf7xtfhgBccCP3qPMgGVeGf6Loeyp0 ZZibV2GUkWQdn8iQRf4zhCtiH2M0vd5fCQvfxjWc1INvGoVG0FiPgAcnRszcdxxj gMc9r1NGdv4ZrLJA0f9j19GYDscVY0CcbIuEGz01JxURV4LJZp9X7kPw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; 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:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=g1q5O3XYcUWxS3waVYUFi7fLmnjhm8aN58BlDP4ME /A=; b=oFSw1uP9Gm+gIkbw4/wV2vEJ0L3Mchxdq2PLFIo4ivqJxXgYmHjX8EYBq 1MoQeqvkOZmy7A1J9HqfjZChBoqSA3BI/9mqculrW68+OnZFdvOBI6YMHCoLSCG6 y+G9z6Idu+pLWNR/QxwduHk6hCG7w3JoHzz7EQv6xb8jWLej9V4sAiBcF/zDFHBv e6UB+HFhzku0ISfdKShS303hCttprWTi6nSlCWZchNiWrkeZxMvFGYgT2/Ik08pF H0RtW++hNK2GoCsapH5FhJ/DxI/63cACOcIO+nQLTXTUrxc4RD6NMLtS1JMgI5bs GpcB4YcL69MwMIJPqi2ic5cE1ktUw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddruddvtddgtdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 10 Mar 2022 04:39:32 -0500 (EST) From: Thomas Monjalon To: "Koikkara Reeny, Shibin" Cc: "Hunt, David" , "dev@dpdk.org" , "stable@dpdk.org" Subject: Re: [PATCH] examples/vm_power: replace list foreach with while loop Date: Thu, 10 Mar 2022 10:39:31 +0100 Message-ID: <4720946.31r3eYUQgx@thomas> In-Reply-To: References: <20220301145313.560577-1-shibin.koikkara.reeny@intel.com> <4112658.kXSN5OTJKJ@thomas> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org 10/03/2022 10:32, Koikkara Reeny, Shibin: > > -----Original Message----- > > From: Thomas Monjalon > > 01/03/2022 15:53, Shibin Koikkara Reeny: > > > Linux header files don't support LIST_FOREACH_SAFE so replacing > > > LIST_FOREACH with while loop. > > > > What is the original issue you are trying to solve? > Asan tool reported LIST_FOREACH should be replaced with LIST_FOREACH_SAFE but > Linux don't have LIST_FOREACH_SAFE API. So replacing it with while loop. This explanation should be in the commit log please.