From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 81F25A00E6 for ; Tue, 19 Mar 2019 18:22:35 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4684C4C95; Tue, 19 Mar 2019 18:22:35 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id B176C11A4; Tue, 19 Mar 2019 18:22:32 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x2JHD96N002281; Tue, 19 Mar 2019 10:22:29 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=rRXeqkFFXiTDS9RQsVG6uWOvw0FyBEDtNAqESJYlqEc=; b=dU81nkQjkI4f0db9xXbjQkDSqrppPskO5XO+jUURa70quyQDMfjbR2ml94GsCUIGKrtJ zt6iD5DN7uYudjWrQL77uPZsfpntcHuE8IZ7dw2Sr92gBCKNqLCn+LSl9rycVYcXq00/ 7JLfVIx9LIEghVLo1PT+wXl+ra9QYvVRf9ZUCDJcE5rCaEMrmRCMYtZTHp5xQasjKZlS Frz40e2kaayialY2Pus4hv+8Pmmccm9OTUodMvOxJFcz0gLYEQn/53a0bOUc4x1IqUBr uP0RAAxN086RMl9nILuqzRktb/eY5EZD7Mbue6Mv0lq3fSYpl0AtPcXRM/DCqkuRkAgJ pA== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0b-0016f401.pphosted.com with ESMTP id 2rax84hffk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 19 Mar 2019 10:22:28 -0700 Received: from SC-EXCH02.marvell.com (10.93.176.82) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 19 Mar 2019 10:22:21 -0700 Received: from NAM01-BY2-obe.outbound.protection.outlook.com (104.47.34.51) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Tue, 19 Mar 2019 10:22:21 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rRXeqkFFXiTDS9RQsVG6uWOvw0FyBEDtNAqESJYlqEc=; b=YgvhDA2MD1KGq6+UOmaEcWSziu5tFOeEPc0HwEiJVcSPkXUyQpLs6xo7+Ck+IaE9pBbi5uCQmRTWaOd6zzmRYUUJttXWEGbZOIrp4g4AFdLulHH+sy0LU/a0rjwTs2VMLf/5M8KztuMkT0GV9H5IB1f016oK3Bp0sxXTyoKZTK0= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2567.namprd18.prod.outlook.com (20.179.93.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.14; Tue, 19 Mar 2019 17:22:20 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::2cce:b981:61da:f92b]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::2cce:b981:61da:f92b%2]) with mapi id 15.20.1709.015; Tue, 19 Mar 2019 17:22:20 +0000 From: Jerin Jacob Kollanukkaran To: Thomas Monjalon CC: "dev@dpdk.org" , "bruce.richardson@intel.com" , "bluca@debian.org" , "Jerin Jacob Kollanukkaran" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] meson: remove build warnings Thread-Index: AQHU3nhOuTBaXVdnBUK7lcayLxuy0g== Date: Tue, 19 Mar 2019 17:22:20 +0000 Message-ID: <20190319172150.12765-1-jerinj@marvell.com> References: <20190318162804.28974-1-jerinj@marvell.com> In-Reply-To: <20190318162804.28974-1-jerinj@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BMXPR01CA0061.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:2c::25) To BYAPR18MB2424.namprd18.prod.outlook.com (2603:10b6:a03:130::21) x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.21.0 x-originating-ip: [122.182.198.182] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e8c76633-32a8-43bc-23e1-08d6ac8f710a x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:BYAPR18MB2567; x-ms-traffictypediagnostic: BYAPR18MB2567: x-microsoft-antispam-prvs: x-forefront-prvs: 0981815F2F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39850400004)(376002)(396003)(136003)(366004)(346002)(199004)(189003)(6436002)(1076003)(86362001)(81166006)(26005)(6486002)(6512007)(2906002)(186003)(53936002)(66066001)(8676002)(99286004)(4744005)(36756003)(8936002)(81156014)(5660300002)(25786009)(4326008)(3846002)(6116002)(6506007)(11346002)(105586002)(106356001)(486006)(52116002)(2616005)(305945005)(71190400001)(102836004)(476003)(71200400001)(76176011)(14444005)(6916009)(14454004)(256004)(50226002)(478600001)(316002)(54906003)(97736004)(7736002)(386003)(446003)(68736007); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2567; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: mh/dA8BM6/+6LGYUD8kfQokaITwgN2ALGybeoiacgncq6u/6gZhnqsuWE6RtIs/tMMuBhr2qnDS339PwYD5Xd+iDGLmXd7nc35821Cyi/xbvyRUK4wZThi+2lb7ziJ0AKNJiYX0JGua4jkK4pKOt5W2jCiI6IEIVys7l4H/A0JFHQN1OoSkZGA4dIIFKlRCG1UM6jtu9Z9Q5mZcbt01X+ZbT1QloK+vs/DicgiawrbGT/TaJyul6Ymn8Kqo225WzsT9uu5FHfC2Jsbom76CsPEAvhoowC/aoIRdRVj5dsx8JAkCM1lUTjYguPjWly8kZYr8ZNky39B/xkK4j37M1p6JpUW9c4EQI9D/HF+e8Zt1ENUZkzt5mkl1Y+E4ASYnDjGjVle97oZgb/uDjuK/lYj2YMtZtGX8rdTEXcMf3mxo= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: e8c76633-32a8-43bc-23e1-08d6ac8f710a X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2019 17:22:20.1948 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2567 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-03-19_08:, , signatures=0 Subject: [dpdk-stable] [dpdk-dev] [PATCH v2] meson: remove build warnings X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "stable" From: Jerin Jacob Remove the following warning by comparing string to string. config/arm/meson.build:153: WARNING: Trying to compare values of different types (list, str) using =3D=3D. Fixes: c6e536e38437 ("build: add more implementers IDs and PNs for ARM") Cc: stable@dpdk.org Signed-off-by: Jerin Jacob --- v2: Remove meson version related warning as bumbing the version needs techboard approval. --- config/arm/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/arm/meson.build b/config/arm/meson.build index 8e892fa77..170a4981a 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -116,8 +116,8 @@ else cmd_output =3D cmd.stdout().to_lower().strip().split(' ') endif # Set to generic if variable is not found - machine =3D get_variable('impl_' + cmd_output[0], 'generic') - if machine =3D=3D 'generic' + machine =3D get_variable('impl_' + cmd_output[0], ['generic']) + if machine[0] =3D=3D 'generic' machine =3D impl_generic cmd_output =3D cmd_generic endif --=20 2.21.0