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 23250A0093 for ; Thu, 10 Mar 2022 10:32:16 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 158DF4113E; Thu, 10 Mar 2022 10:32:16 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id ED6F34113E; Thu, 10 Mar 2022 10:32:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646904734; x=1678440734; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=iLY7As5+a86NS3NfUwWdwjMiXbMJE5himyWTbP7NJa0=; b=ZGmGoIyWv6MH8LULwdZK0MtOjjhi/wONiwIrGaVQQCsRXqAtuhI1ZyLm JuklQhlW8NLXVP+iQ75fTLuhmpAKIFIQC2AwSg9uXkwV7lenJe3qSgc2A Ig5kHCsPWHfhlPScqDED/P5J6UtSkh6NA2ao1BJqQoM+Z9oBaFCEWBwT4 emXI+zrx0gylruhljBHdcAl2RyHO8eEu2dsj/UDKHl5KUwxZadq75rOU4 lFn91rZ2ZTsFUDH/RLG34O2f8vRtdABcrNNYRCXQNyXP0KvfN7XsYvX6K IGLWOaIa/cowyQ6My8aPZSexkLACIcC72kZpc+yI25b433+PjbjK8a1cX w==; X-IronPort-AV: E=McAfee;i="6200,9189,10281"; a="242650180" X-IronPort-AV: E=Sophos;i="5.90,170,1643702400"; d="scan'208";a="242650180" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2022 01:32:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,170,1643702400"; d="scan'208";a="712293112" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga005.jf.intel.com with ESMTP; 10 Mar 2022 01:32:12 -0800 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Thu, 10 Mar 2022 01:32:12 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21 via Frontend Transport; Thu, 10 Mar 2022 01:32:12 -0800 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.170) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.21; Thu, 10 Mar 2022 01:32:12 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ptttpq5C+qUEoOaLiatlY3cmtsDhOgjwG1Ns+pAMFFiAuknzl17s3fd5+RPSubvmqqnc9Zqe19/CziOJ4U50KpJwNBf9umYt+Y4jQRV6kmzi+fxEoJcKRQB/kUyRMsYD9/Yhz/Fp2sfG20268Da0XlQbtPxqID5TIH6snuxJoKcVB8cUd2O8xIGxgt0GVGdMsdP9cdywFEDVw4vkm7e113rk+jYC/YDwtNuB+07xnl1PjJ1VxPbO+nD0vrgT8PsZm4Y/Zgoo2xKL9b5k2oGFH0GdhnruNAABlTCmfbmV/8PZY8529GjcHMD99+2Z7FWt1n4u4DsiW/29JdfAKNo9eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=iLY7As5+a86NS3NfUwWdwjMiXbMJE5himyWTbP7NJa0=; b=LD5RCqU5izeeYWTCeXqQq28FDCgSPxu8RdSYXiPxo4BM2sgTzmQfyMz6Y5SiJRAWKXs5bbfcCfxkDhMbznJXZnqgDPhMnnwOtJDzA1xN47Zf/Dnq99Yk9i4VyYhZf855SxXvDTRHOVk0WmdEcBFZieDVauK7J5eRES8WSTR2hP2VLRuoTcwRZII/pDPwFhPT6VRb5EqqBMbs5rWK+k43/N7owTc9NyLvozOAPf+TDXzlnqPzVBj4FdR/Wo6e86vpx3eXlyA3/7eFec/Dpri8bEKACWQ7RfMMwxUMXJt8XuoFp6me/oJFL+FxQMJa1oX0kduDtmtw+RMv7J2WylpFqg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from DM6PR11MB3995.namprd11.prod.outlook.com (2603:10b6:5:6::12) by BYAPR11MB2759.namprd11.prod.outlook.com (2603:10b6:a02:c8::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.29; Thu, 10 Mar 2022 09:32:08 +0000 Received: from DM6PR11MB3995.namprd11.prod.outlook.com ([fe80::91c3:4ceb:cded:33f2]) by DM6PR11MB3995.namprd11.prod.outlook.com ([fe80::91c3:4ceb:cded:33f2%4]) with mapi id 15.20.5038.027; Thu, 10 Mar 2022 09:32:08 +0000 From: "Koikkara Reeny, Shibin" To: Thomas Monjalon CC: "Hunt, David" , "dev@dpdk.org" , "stable@dpdk.org" Subject: RE: [PATCH] examples/vm_power: replace list foreach with while loop Thread-Topic: [PATCH] examples/vm_power: replace list foreach with while loop Thread-Index: AQHYLXwbAo9HVs3uX0aVtNEsilkBl6y1hS0AgALhBAA= Date: Thu, 10 Mar 2022 09:32:08 +0000 Message-ID: References: <20220301145313.560577-1-shibin.koikkara.reeny@intel.com> <4112658.kXSN5OTJKJ@thomas> In-Reply-To: <4112658.kXSN5OTJKJ@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.401.20 dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ade531cc-a539-4cfd-ef57-08da0278d90e x-ms-traffictypediagnostic: BYAPR11MB2759:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KiQC5NfitsOHaJXNXycb+NZl1pR5Dbwg2vYM5XFxsFGA3wpH+zVIzXz1nNpdkSyo215HnYwKKOkZm+9fR3HHS/vTPfzk06DIx9HfeXj5a22jXqLnGjJBPRLRcajgoonp9rop2dGu7NaV8dGieGs/3e32cLFNuWYNA6HnxP+Cx2bLR9eePWQLw04TtnRA2hajlxOb+JRdmzjVnLujokIuE28CLNlKzYb8t7A5livWtHHURqC43g/1RcFvP2aIMXbObaRychp/YC9bk81+LyChLZNqHvIJH+X3SdJZBzne7SV5GpErA3E7U4I+zThiwRckNAZIe8l6aCieeLkU+GmZkhtpx4WH0ES5U4UPzrVgBsP+Fy6tJjHPtP1FxRURMoIRTcv4Qtd/HET9cLHqvHv9QU5bEHxbcVB0iXHSthMUo8yem0l5v1ooB63DRboRKYJlkg6lJ9unNB5vbezRNqHsa4KmqDbe2Gzn5uNjB2a4WXMr/cHL9PUfIoLp/C/1pXQoow5a70qr1CuCeaT8//1YyqdeDJWR0DhZaYwGQJ7FC3EEHhFGv3klhgygplguwHRuhT/oiWxXTl/r1k044mKAmNEiNcx0UQFXWLtSefpNBJNyI1glge8oq0HTGCjzuYwh3PcxbNesR3NsN4vg/xwwjEKngrMXjQ6a6KxbJztPM6PJO0j0cqQDiuXkMox5oxwWdkEiAVdMZvZZeJhGNkV7GA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB3995.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(83380400001)(7696005)(9686003)(33656002)(38100700002)(5660300002)(6506007)(4744005)(8936002)(82960400001)(186003)(26005)(2906002)(86362001)(8676002)(316002)(52536014)(508600001)(38070700005)(54906003)(71200400001)(6916009)(4326008)(55016003)(66446008)(76116006)(122000001)(64756008)(66946007)(66556008)(66476007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?NB9BKI5QXHqcueDSyccZKfJkrWGSC8thNDoiZ9141HA7eBg//yFe2vtRQ72d?= =?us-ascii?Q?kwRzGnK9rVk8CNAQAkNKmROdl4p4Y/pp1GNPwgRmTVgld68+zTn7rlxafadm?= =?us-ascii?Q?zfPQ0+ZPtcMIT1izCeM8hhDXiUmsaX6EoXE/cPN9QopHYAwhKSnqOpsZ+BLV?= =?us-ascii?Q?ybQ8nPhPw8MM4qgK8qDvjiIyANmwDnp+ceGWPcZ25bTVCjvXhaqyyx8nflmI?= =?us-ascii?Q?GMyjYeEosMve7X8y0IfABW3wYbQpKhKu3nDdLmAfuz7TWPEIpvagsGnZZwGd?= =?us-ascii?Q?cJZ64dwtOm+6+unkiG7jGUmoiSkShklV0fpSkBjyFf1TFwRgSztzpO+J77t5?= =?us-ascii?Q?zEkDG/DG7xgopMlUZG3o1WCggtDdsMyvfXGO2HsR6K7jrcFVAIu6JnFm6b4x?= =?us-ascii?Q?fmVehTAt/G/qon5Eycb+h6e4stqGiDaWNOWMOwgSIzdNe1xDBGjtt05NZDbo?= =?us-ascii?Q?gP+O7LuDUZ/lhKezVgELkuJJ/Yx6u7aKap5pNx758il3xJI1P+ia2tzQPsP9?= =?us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BBS98djDJ4WY/C5fQWqprJwcmL9vQ+0ZQy15V?= =?us-ascii?Q?KEHFw2f2Nyla3haQe12YoYgyxBZnBm1qXdR/bSuc+CAMnB1eACuCK06i2wR7?= =?us-ascii?Q?Jd6AIHoLplta6kPXEh98ObK/ZgG18bkiKlwvVXbVw0Bs+rgN1472zcjbo5N3?= =?us-ascii?Q?mH7XbW27cKWUaWtla6Ly8DXCYiilOxofP6Giq/n4cDhqT7kZWGhzXwU9WTqW?= =?us-ascii?Q?VWlNFa2XNuvGWSmv12WM5mYdZmfUHNIPwBZw08QWIgOkvqBJOFVI7Qn/2kNj?= =?us-ascii?Q?800sIA=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB3995.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ade531cc-a539-4cfd-ef57-08da0278d90e X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Mar 2022 09:32:08.6531 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: KR0m//OWhnuaQ6ipSxW0re5AooL9h6Hh3/zXTsnwqd0XaNQxZW0Ul4W+vNIvuifoniYvq4uF/Qbo+eqEiOE45NuorKgpJ6WgyRR3EDnPkb8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB2759 X-OriginatorOrg: intel.com 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 > -----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. >=20 > What is the original issue you are trying to solve? Asan tool reported LIST_FOREACH should be replaced with LIST_FOREACH_SAFE b= ut=20 Linux don't have LIST_FOREACH_SAFE API. So replacing it with while loop. Regards, Shibin