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 77EF2A0C50; Mon, 12 Jul 2021 10:08:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 397B44069E; Mon, 12 Jul 2021 10:08:36 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id BD0EC40685 for ; Mon, 12 Jul 2021 10:08:33 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10042"; a="197213922" X-IronPort-AV: E=Sophos;i="5.84,232,1620716400"; d="scan'208";a="197213922" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jul 2021 01:08:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,232,1620716400"; d="scan'208";a="569419593" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by fmsmga001.fm.intel.com with ESMTP; 12 Jul 2021 01:08:32 -0700 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Mon, 12 Jul 2021 01:08:31 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Mon, 12 Jul 2021 01:08:31 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.172) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Mon, 12 Jul 2021 01:08:29 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GBWkHLE4kKF1ztXrSFYCRhfWHboszRT84Fc2KvOp6L4qRFom8FiDR08H3IjgFosHDYiroWy3XaZsXjRoe1jv6m+8A80UCcnKpvPZtu18jVekXtxjbKWPRiw7+rxWdglCW/aHupi6p129ItQYYARIDNaDSBwSnvjxVZYg//F9622quJ1VxRTampv/OJ63Svyy1fXSQcdFjkEoPlH91adwKB1ppGa+NRPRCmvmjkXTU2mMS32pPvV7OebyC/LdvGouqJS0GHdkSCEwH3buN1528oid1Cgr+O78qvSyL5sNgnt0SFfWW92sPfQxmOA6vDWhAsjW+BdkGAoP36c1Lioqug== 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-SenderADCheck; bh=CTaPdBfegkMf2AQbJhHJL80h4ud3NNh1wev5lj9G0yo=; b=jmLqpRpOHSfWj6Oxlj5upI+lmnwuck0Np1U5flhnWtQLZQ3NmePi7JXjPzRpP+cq+MeHh9rzBTP9MbEdz1Tk4cLCX27Drj3f0SjHvu1+36tK1FXYtu/uyQiEt1ieXnPdh/bRzq/0CgqSqs6CkI2boT9t01B5N/Q1u6H67E+b+TAancdZx7KBDJgzFmcRGgb+b4k+rHu1KnWtQK751F52AiXHmzYViNLPctQsubVS3xV3hQCxAfPSeAC+xdz0sF07pLsERSGvVUF22BEZz0+ZSs4GIABZebxrWJTiyzymIJtCPbSTVfkxApkILmmVXnNJ0mOCSG9xrYSVz+oDrS6Zzg== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CTaPdBfegkMf2AQbJhHJL80h4ud3NNh1wev5lj9G0yo=; b=VolybNutfjwZjqC3RW5WeMhbl7lRnkBvVFkiL6vMgzwWV2cXOwKuF3NCEtdwlkgR/i2+Cm3ZF15f1eY25r1h1eQS0JIpl2gGcJsOoz2vC3dIJNwA76B15FTuu5mV5g7uvZJjbWGKTiJYPexXESz2pq2i7eeT4eR6cvWzX1k1ccQ= Received: from DM8PR11MB5670.namprd11.prod.outlook.com (2603:10b6:8:37::12) by DM8PR11MB5591.namprd11.prod.outlook.com (2603:10b6:8:38::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.21; Mon, 12 Jul 2021 08:08:28 +0000 Received: from DM8PR11MB5670.namprd11.prod.outlook.com ([fe80::4e4:c86b:b091:bc26]) by DM8PR11MB5670.namprd11.prod.outlook.com ([fe80::4e4:c86b:b091:bc26%3]) with mapi id 15.20.4308.026; Mon, 12 Jul 2021 08:08:28 +0000 From: "Dumitrescu, Cristian" To: Ali Alnubani , "dev@dpdk.org" CC: "thomas@monjalon.net" , "Khangar, Churchill" Thread-Topic: [PATCH] examples/pipeline: fix build Thread-Index: AQHXdvI1RFmWbXAC+ku/JEpaZ7gldas++7Zw Date: Mon, 12 Jul 2021 08:08:28 +0000 Message-ID: References: <20210712074636.406903-1-alialnu@nvidia.com> In-Reply-To: <20210712074636.406903-1-alialnu@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 79b6d873-23ac-4675-e2e6-08d9450c3b65 x-ms-traffictypediagnostic: DM8PR11MB5591: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1923; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: sfGop84AzYxUkswiLsOxJScCTvmXv4NHFJEA+sYM1Zq6V2MBywd/9SXiIfKMMBEFWnfjZ70Dir8JuCYADayIfy+l1uUfFdjUnMVaihXfHWdicP4yLkkX+xsor8Yj2bJfWjuvxkA2wQNLKvFOFRBTofSms4lJ3gwKpmtCz3jYAet7MUQ09nDAoI2Q0M+gH+apr0xBtqJ1As0J7pJqLngJXaq0Ffg8rE8p+RaHgO9yekrrJj0nqMmaYIVG8RXpw9WSpZW0F563vOM2UuA0q7PyCHskO1SsnaqCkpBw8oFl0CDystPEPhnfbocifNUwqqxws//e6F+yIp/Blq195KcgpP6jlkmsyCyphhxAizUn4DfSOCRNnesLXzLpmdY3/qJaHod7JY9NgGZAFeqruyOgHb5GBAJv47Q0S91jPCs/xLa9ZOsLqM0tciXfM+MFfxdVn2usTHrlQeVGY4L6gu/rZgpGO0gXxwZXUk9y9pB8W6N1Pk5r3dzizzgvvqdwIEEI/TYyuFWQzi80HhFu6ZvocyQO1fUBzGhEpDeNrFDGf6QTiCnUyQrelN0IVzTODXEDVStYjXGkgZLzWjA9J8MXyo+MP/hL0auaOEqDKMOLpdMa32WNV4no1NY0gB2ZdKdV/Jy6x/p5fvfOy7i1Dt3qrw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM8PR11MB5670.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(346002)(136003)(396003)(39860400002)(376002)(52536014)(316002)(66446008)(186003)(26005)(64756008)(66556008)(66476007)(38100700002)(83380400001)(122000001)(66946007)(55016002)(5660300002)(33656002)(4326008)(8936002)(8676002)(110136005)(478600001)(54906003)(86362001)(2906002)(9686003)(71200400001)(7696005)(107886003)(53546011)(6506007)(76116006); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?xXYYDHrIwc5+DyDEnsuhXIyaARqMDWcQAZi62J+VmjSm5klNBFuIUFZ6gD/T?= =?us-ascii?Q?5ynIdDne/bUEjcNSVjUrhEADLe59lGI+kRpEP9WT95DnK9AtHOk5Qpi2yGsb?= =?us-ascii?Q?olC2p3VOxs+xvA4BDOPd3ZvvAxEyKB6y47QokEEZ87B5fCGaPLIwVKBGjczU?= =?us-ascii?Q?MhEpFouD1knN29ibSyMJ4qWfB3rg94SVeNL9mc9SG9Obz9XFg++XInUY80b5?= =?us-ascii?Q?gInTV0SemwtRqBpG9sfPkDYAmGIhvPX22XY3k7FI2EypZyA/udpDoeYD7paR?= =?us-ascii?Q?mj3gRgbjhQWwcoleMDz6VERb87LbXybY3VeoRWT8zdhlHSthHVOhxCVbnMtA?= =?us-ascii?Q?p7v2dUKj/kEy7z1QMHWrvX89Fhy/rZMSkOUJgJ4D84rgPRKaQ7BPJmAR0i5C?= =?us-ascii?Q?4YqctAOBFB7TmJC232SVPfYk3dESFohO/PN140w+eVNOwzjdaHgkg0Ld5QJD?= =?us-ascii?Q?JVOQK60dHZu1TxoiZXQ3x97HDoKNsYLEmSYxPpbdHvkXghdYeDoPsX0kdm0z?= =?us-ascii?Q?DlC/2TYRYyH4mo9qRuOe3m2tS0empcT7hwD40BIiWGOr6zWjU5L2G740kwfA?= =?us-ascii?Q?wZGyXEB2YSRBjp68rhOTOzu5GgEGoLbME20UXK08J4ZHy3oix8VDdibIYs4L?= =?us-ascii?Q?I9vHKS6zcSVp/7LqjAQ79rIP0A1UfreT5nNrlSYBHVw7+K+VSbm8X1PTBpjQ?= =?us-ascii?Q?RvSQpkdoILE7EJ2eMG+eoMBgQs8hNcbbJ5lGlB6bT+BCcxDGyj9ByJcLCK6X?= =?us-ascii?Q?8fRRDcEgtvAjy15fqT6SZdg/gRSWiCzcCW89qkiG9WHqcVbkXRPROD1XJmNt?= =?us-ascii?Q?4ootN8peVeZIy8/jbp3Cr+VmgX4ITs+wwn3ABuH/3yObijvTKPzVZrySTJ53?= =?us-ascii?Q?xVJDxjSrs1HkIF+WJFIsOMgbQMo6xTkr4FM5gcWLK4yWoxeq3Za+ac/6okbT?= =?us-ascii?Q?T5BvB+BPq1hSqet3X8YZfN2C4w10zYDriFFTKJznXDo9DNDSRvvpkxlX2THq?= =?us-ascii?Q?jqTWJyMSnv2Mw9ialiY0mb3hf8M8Eni6kdGCkb2dWAT4dBJavS1wzBb+NAUO?= =?us-ascii?Q?S281bV5b0SYy77buoCWxPHLsOCu39HToIlUXOaTpumsxMLHt43rgRkLCtckE?= =?us-ascii?Q?l8tnrWodLEP2XBLDIgAGkHkpfIo+ryp5gYBq38QUAt4fs3gPnp0689UTYlyg?= =?us-ascii?Q?OHudtC23Ig4QW0ITHlgQUOdtEupEMNS6jDmPI5g7FtrhMEsdmAwwBID4dRQk?= =?us-ascii?Q?gC2c4oJQpyj6O5XCuYGjWCvOoMBOKOrC/XcvkFtlRRHJohQzXsN7FJl3XXed?= =?us-ascii?Q?6/llHoMm++PSGb7KE4flfHb7?= 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: DM8PR11MB5670.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 79b6d873-23ac-4675-e2e6-08d9450c3b65 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jul 2021 08:08:28.7555 (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: JILduXwlNwBD5tdJX28xhl8XuFWNRrWTJ52GAzCtmtdSjzN1KUXIAOHau/l1ABDh0JTxBBjCnvLE13FR0lUu2OsiXLNK07RVcg6YCKR7wLU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR11MB5591 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] examples/pipeline: fix build 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 Sender: "dev" > -----Original Message----- > From: Ali Alnubani > Sent: Monday, July 12, 2021 8:47 AM > To: dev@dpdk.org > Cc: thomas@monjalon.net; Khangar, Churchill > ; Dumitrescu, Cristian > > Subject: [PATCH] examples/pipeline: fix build >=20 > This patch fixes the following build failures seen on Ubuntu 16.04 > with gcc 5.4.0 because of uninitialized variables: > ... > examples/pipeline/cli.c:1559:11: error: 'weight_val' may be used > uninitialized in this function [-Werror=3Dmaybe-uninitialized] > ... > examples/pipeline/cli.c:1545:13: error: 'member_id_val' may be used > uninitialized in this function [-Werror=3Dmaybe-uninitialized] > ... > examples/pipeline/cli.c:1538:12: error: 'group_id_val' may be used > uninitialized in this function [-Werror=3Dmaybe-uninitialized] > ... > examples/pipeline/cli.c:2189:2: error: 'idx1' may be used > uninitialized in this function [-Werror=3Dmaybe-uninitialized] > ... > examples/pipeline/cli.c:2179:43: error: 'idx0' may be used > uninitialized in this function [-Werror=3Dmaybe-uninitialized] > ... > examples/pipeline/cli.c:2265:2: error: 'idx1' may be used > uninitialized in this function [-Werror=3Dmaybe-uninitialized] > ... > examples/pipeline/cli.c:2248:43: error: 'idx0' may be used > uninitialized in this function [-Werror=3Dmaybe-uninitialized] > ... > examples/pipeline/cli.c:2358:2: error: 'idx1' may be used > uninitialized in this function [-Werror=3Dmaybe-uninitialized] > ... > examples/pipeline/cli.c:2325:43: error: 'idx0' may be used > uninitialized in this function [-Werror=3Dmaybe-uninitialized] >=20 > Fixes: 598fe0dd0d8e ("examples/pipeline: support selector table") > Cc: cristian.dumitrescu@intel.com >=20 > Signed-off-by: Ali Alnubani > --- > examples/pipeline/cli.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) >=20 Acked-by: Cristian Dumitrescu