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 AA2EFA00C3; Tue, 1 Feb 2022 11:10:24 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2197340691; Tue, 1 Feb 2022 11:10:24 +0100 (CET) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80047.outbound.protection.outlook.com [40.107.8.47]) by mails.dpdk.org (Postfix) with ESMTP id 68E6D40685 for ; Tue, 1 Feb 2022 11:10:22 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kjNx6S+XQYz/ES4pnSeVJoW3VHVMzqqPYWKCp/UrSZ0dMWd8o/6tFjvPyoXjgf9JlY7XAUcfYlQL3xl+UzLX86+wqEv7VsGxx3Bwq9GTVy0H6qvy2RSr18BATUtrQAJA9X5LHZN0tOn/5B6KpJFoVKn8PdR6jXOtdRpC3tKyMuihg5yFfSyuzugD3tJDSL5hWOEjQIXfEkZB9SCZyDy9dhjlWbJEGsQdTD9L8OWuon1OC/sujE9puu6SIClolZRak/TAJzhZx3UD4qVKfDDGGAL83BEs8MxgTX7fCGxRwhTUb6jM4JvaUrB3gVauklJAq4gU8uoYAQK45NsB2IspYw== 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=jAU4oHkFxPtM/gIeAFLc5K+twvLhPtpgk33IMKA3p+A=; b=HcLjw0j18A3K90fcOaHgXLc1/m46VFJ81VdQ/Q+U74qU1BwppZxv0QysbR5DgJf/qc30gXkqERkv6ybCJmhN5n+PJBiwygIgZd1Difa8TlVH+/ieq4/bemqPjywTHOa/2Gn86xT52TpqcF5WvmkzjfIDpUGD30BSr/6sSS7lT2GHF61aWrYyMs4rqF9I7GQe/uOnKLaPgUkxEC59RrGNZkuorFU+SFBzLyrK5VqHrmWcjJZ0wrvjbBQmBt600fluZBiUxgA8xJmCW2YTfPBIo8GXbAD0y24+bTL4U8VQ6XX5IhQD+jvBjcoBLQ+R081Rhih90KwVWErFP8ZhV8T7xQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jAU4oHkFxPtM/gIeAFLc5K+twvLhPtpgk33IMKA3p+A=; b=FJPJvsMWp1HK1FZbmZF+MrjBpllEOjybzniCHX4RQPfSl4M4wyCA1Cbrl7zLHRtwfunroRYjrMuYDy7fEQOptEdcFNJAoMxifdTD6kYohukhRh9cKbqKiwSptf8LaJOIwztYaZTc7zW437IHToBTA44HGeJzF6kcFLRtrizlhxs= Received: from DB9PR04MB8429.eurprd04.prod.outlook.com (2603:10a6:10:24e::23) by AM0PR04MB4849.eurprd04.prod.outlook.com (2603:10a6:208:cf::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.11; Tue, 1 Feb 2022 10:10:20 +0000 Received: from DB9PR04MB8429.eurprd04.prod.outlook.com ([fe80::ddab:6e8:fc04:389d]) by DB9PR04MB8429.eurprd04.prod.outlook.com ([fe80::ddab:6e8:fc04:389d%4]) with mapi id 15.20.4930.022; Tue, 1 Feb 2022 10:10:20 +0000 From: Nipun Gupta To: Thomas Monjalon , "dev@dpdk.org" CC: Jun Yang , Hemant Agrawal , David Marchand , "Sachin Saxena (OSS)" Subject: RE: [PATCH] net/dpaa2: fix build with musl Thread-Topic: [PATCH] net/dpaa2: fix build with musl Thread-Index: AQHYF1GfIWZmx184OUqH1XrqskAvKKx+eNPg Date: Tue, 1 Feb 2022 10:10:20 +0000 Message-ID: References: <6348031.G0QQBjFxQf@thomas> <20220201095332.834143-1-thomas@monjalon.net> In-Reply-To: <20220201095332.834143-1-thomas@monjalon.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a3f7cbe8-2e31-461e-9033-08d9e56b0def x-ms-traffictypediagnostic: AM0PR04MB4849:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3631; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5OOGY+M7o4K9g6i397av5Vkcvb22VQHAu6G9l+EPXFAACGDcvs6gkgi3FVXkWZt7FHqrmFV8gYinNXX+QjpjSnKgWpPl7JZVFMmk1V6cDM8AFTqd2lXLYMQqMZgcrs5G3n2W+Gau802LZhOmw5nio1hwjkpakfvlm0CyMI4LzC6qOXFHeHqjD2KnkDUtzMRNoeGnVWVWGWrCi4G/y6SnXkBH9oeRORzEv+ZiO5wWRTZRRuymqq0UMiMiNytWxqkoziFolvJWfExKv8JMiHQHVkvAMqouv3yQvYV2QU7TEq1MjcUewrH9Kaytp3uZMt0zq9KPGLDw2Xb7QYREquuVFQsuB1kfKSwHtQ9NLoCXUBQVPuFZhluz8MlwJGyV+zErRCB9MKjUL81pK3M9V7uCY0vF1bV4RdeoMUhZOwiSH1xYwZ5aJ4YdDZXZlEudmT3E0eiEiWy2+r8cxw6LKgk3S9woGn77uK9tiKNkfw24Bx+MqJiXlXDjwLE4ySZ0qOtKQUoHXjh8cK5ulrEIxZ6TT8UKXe98fGUzl2BVkuml+xCpdtGMRU2Kos9VLQwNL/7oameBQqYxXKyKtukc2spPgmYexft54vVLWEL0MNW4BCTOaoO1srJhMBNr8qVlJ45BgiChJcoB3AejliMucZtk6vnbm8T6Ek9RmpzPqIJ0ICumck5DMNdDzu6TbbzRdvmghZH+Jwnj6Pv1ESukRdmoEQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9PR04MB8429.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(54906003)(110136005)(38100700002)(316002)(33656002)(38070700005)(71200400001)(6506007)(9686003)(7696005)(53546011)(26005)(55236004)(508600001)(86362001)(55016003)(186003)(5660300002)(83380400001)(8936002)(52536014)(44832011)(66446008)(66476007)(64756008)(66946007)(66556008)(2906002)(122000001)(4326008)(76116006)(8676002)(20210929001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?IuHeQuuAkvHjIvBGkFhZHTlV/P2uBk9/bFy5g1AiXKnqfP1OnCKGsyW8QIr4?= =?us-ascii?Q?C+K7jII1HsMl7WtCYuvC+4hUaqGcL25iZRcxnKAjVwbYEJlTj7+hhUszXji0?= =?us-ascii?Q?BzdG22Y62oNkLdhftwKRd2Hn3RYH7sqQCbnG80h4Lw/nnVjy7zjpH43D0gA+?= =?us-ascii?Q?u0J0Dk79Lnr7Leqq99YYg8cY8BOpL6Wb/mMf62KkuUDtpbD1iufRm+2Ouc4S?= =?us-ascii?Q?IrTd35sygakNSgu2YsPeINKJvTMbyT3GHmJ2LHerkjoNK9WmlVQVi4dfUAyp?= =?us-ascii?Q?kMCBafGe9hADWFpHbbpYJ5veuO6MrXVpVnpzT9Y7qFbtfQbYhAFRMdVy8yQo?= =?us-ascii?Q?RG4dTje+6Q1stjI0OczbxYA92bvBSifrxzZ84P2hSchydBSJY4qY+epl2FJR?= =?us-ascii?Q?5vDUS9vvtO+67EogSEplo+k+Kclq2LX/UcV4fIyDY+93x1bLQMwGKLaQDk+U?= =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pczjMvXzmAlPwDqItr?= =?us-ascii?Q?++9dfyzkpipNrSfEriUKU6bi1+udHC5sJ3T/5dIebFD1QCowcPNnnRJ09If4?= =?us-ascii?Q?dwLpmh8/4TtvYUV/Aa+7wAr1NG+kXFzuBx24c+8pk0CKYWKR3pQpaHWrXVRO?= =?us-ascii?Q?rp2Ax3KTR7n3JILktIe+H0H4ekySdYzKYbHn3EX2tWkfo4SPrY7UEEBwrnJl?= =?us-ascii?Q?62VDt/K/GfuwjCf57Jomh/bU+r/o3QdAqv83PwwJZBLKvBSVeXQePIoizrLG?= =?us-ascii?Q?Cpvkk3DsuoIUg5tR2ESP51E=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB8429.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a3f7cbe8-2e31-461e-9033-08d9e56b0def X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Feb 2022 10:10:20.6806 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: PoMvtQsk8B1vVkCYYh/wR8/Ne+5CnSGECHGiDhiWEJq/sMqTLrvQhfSSQF8nRi6+aMgFe+hffrSMHExSfeXWZw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4849 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 Acked-by: Nipun Gupta > -----Original Message----- > From: Thomas Monjalon > Sent: 01 February 2022 15:24 > To: dev@dpdk.org > Cc: Jun Yang ; Nipun Gupta ; > Hemant Agrawal ; David Marchand > ; Sachin Saxena (OSS) > > Subject: [PATCH] net/dpaa2: fix build with musl >=20 > PAGE_SIZE is already defined in musl libc: >=20 > drivers/net/dpaa2/dpaa2_recycle.c:35: error: "PAGE_SIZE" redefined > /usr/include/limits.h:97: note: > this is the location of the previous definition > 97 | #define PAGE_SIZE PAGESIZE >=20 > Fixes: f023d059769f ("net/dpaa2: support recycle loopback port") >=20 > Reported-by: David Marchand > Signed-off-by: Thomas Monjalon > --- > drivers/net/dpaa2/dpaa2_recycle.c | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/drivers/net/dpaa2/dpaa2_recycle.c > b/drivers/net/dpaa2/dpaa2_recycle.c > index c5e9e9721d..336506dc0d 100644 > --- a/drivers/net/dpaa2/dpaa2_recycle.c > +++ b/drivers/net/dpaa2/dpaa2_recycle.c > @@ -32,7 +32,9 @@ > #include > #include >=20 > +#ifndef PAGE_SIZE > #define PAGE_SIZE (sysconf(_SC_PAGESIZE)) > +#endif > #define PAGE_MASK (~(PAGE_SIZE - 1)) >=20 > #define LSX_SERDES_LAN_NB 8 > -- > 2.34.1