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 EF731A00C4; Thu, 29 Sep 2022 09:01:43 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CA65B40FAE; Thu, 29 Sep 2022 09:01:43 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 7E9BB40E5A for ; Thu, 29 Sep 2022 09:01:42 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28T1Ux1S023167; Thu, 29 Sep 2022 00:01:41 -0700 Received: from nam04-dm6-obe.outbound.protection.outlook.com (mail-dm6nam04lp2047.outbound.protection.outlook.com [104.47.73.47]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3jw1rt12du-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 29 Sep 2022 00:01:41 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hX/FJteX4l/gOlIQGRP/NSLYBT1wX4qUJPK17PRwSt2oTYqxmBTiF3/YiL12PeZ1CoywR4ZnrIeHVWK4Swa5rIBjYdK+xy2dzi5y1mTw/6ABgLIGJOgrJAy0zaPZplNS7xUtJBhAMm1zBUfXXykhlmC8DDR6XmQvAZiM9yy4jPFWMVR6x/NLRqTpAG4b9qWBTZV7JZlyygMctjgi0Mhw69PyxQOoLFmHWYlLp23DyHmevLy6p6tUuDbKLIgAM+qkU+gpLiycT2Kb5vvR+SXQ9pxwBQflmjTnNlp82p4YxrfIfdL2hfKcN0uW7Bg6vGlsMTydC4WTkBHCZinFhdf6Ug== 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=Gb/S41PTP1V9TbWQi265sTSO7WDbHclOJRG/rv8lkJA=; b=Xp5yOUyLiBnjBGCJMa+jMjE6yDxWjLd91Z4x4W9JKeVrZpEFTSD109snn6tGhVkYlTVtjrrt7RDya4hDKk2P2TNt4+w2PG336ZdcnKlSE97cRRcGWqViufOgVpa3PlCvKVl2XeFJWESbmafkH0zqUBm1aoHGZRnPgSyByRXifulHJiBCpBD0afaveF4xnEYtJYRqXyaNegeJSOmT1SNow0qJBlJbaBFUy5XdN2ZB1FP8E/nsOmBPbNBC8oodwA1y5itQpl/YFbkKoBxWbw+EGjtbWDKCFw2JrQ9WXfkLLjjyCtugOzgLJ3x7r+0y38C1pEclEVD1gkMf9DykHFACNQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Gb/S41PTP1V9TbWQi265sTSO7WDbHclOJRG/rv8lkJA=; b=mfufxgo1WOqMIbIJ6uhLYE8bwchHBDmQIG65TcY4ACSdIGohwSnNF8k5mDvhuYYGK5wMH6oAV2iEbzVCOO/R/n4LnO8IPpKfvsRkwP6JjWORMnP6Ohxw9QgmOKCuCuMfgbPQmyThNc2ztKZiZN2wkwA31d4axoVmcJChxgB0+7Y= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by SJ0PR18MB4898.namprd18.prod.outlook.com (2603:10b6:a03:409::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.19; Thu, 29 Sep 2022 07:01:39 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::ee27:3b96:a580:ba9e]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::ee27:3b96:a580:ba9e%9]) with mapi id 15.20.5676.015; Thu, 29 Sep 2022 07:01:39 +0000 From: Akhil Goyal To: Ali Alnubani , "dev@dpdk.org" Subject: RE: [EXT] [PATCH] net: fix build with -Wpedantic Thread-Topic: [EXT] [PATCH] net: fix build with -Wpedantic Thread-Index: AQHY08/NVj7CRLZrNUCHhr+cv2ykoK31+oAQ Date: Thu, 29 Sep 2022 07:01:39 +0000 Message-ID: References: <20220929065006.832858-1-alialnu@nvidia.com> In-Reply-To: <20220929065006.832858-1-alialnu@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB4484:EE_|SJ0PR18MB4898:EE_ x-ms-office365-filtering-correlation-id: c7f484d8-d6f0-4876-b287-08daa1e87530 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Dgmjuxnw9MkprstVRr6WkdSHFb9a13ShLZrWDjumN03xrEvd5sUMDL2DKfsj3l4hY/ff6GRsYgi8cHk8yj+FHVfJXovzkiwXz+KoR2VbGkMn1IJa81xF0nRlUHrmFTPb91ekPugFx5aGZVFTTCRp4A69yLAkxJR7VKuQXAlSM8grRsvLqlQVfLha5wd1KkYAw8zJyVIH+REOcATCo9alDUKUeE3nZSOM+z1mQQsrNRiICJu/P5jQ5+RhC4FoxPPSOltfhMj/bqaCEchNIitumPnViNn23OpYQo9Pj6EIQ09xl7/0gFAa3IZAlSkiJLpYwktIs3v7+MpZQVHv6yEw5xa9LsS95OcjY1MH48fuZ7mNhA3y24VHqYiw2gTje2T/F7uSVqqxEKoNeJtISbWGH32mdh99pDrHGDAf7sqNMJ7Z347HLrNZblqWWdIDR4zxMeRGKyMMtMhUgpeKnS3d/kAjPZzcY1lhZKQVOBvLW58yhPVFDHK5oEsDsRFjTJp0NuzU9jGegTADj/b/N9YWimZZQ9sIPQK+2RCOTq1TeXwn3fx0NLIScVlvSTV28iQqyc/LzjwavxHcHfIsb7CuztJS5anTrOJTNcQCMyDPqD0ZEvcWGpREtEdnc6hDppO+5y+Ok1r+CLEXLqOh+PUTxp0KHC7a7LiCSRFxLiqadl5Qd7BVbWOqkqPQ0UpFYrgYf+Z5favxxLnmESYkgpGI9miVN4iGWCaJVkz1K0cCL5SuBP4oXt/4dqxv6yRd2JBS0DlJpHGecFhnV/+j0l+9ZA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(136003)(346002)(39860400002)(376002)(396003)(366004)(451199015)(86362001)(55016003)(71200400001)(478600001)(110136005)(316002)(9686003)(26005)(6506007)(122000001)(5660300002)(2906002)(8936002)(52536014)(7696005)(55236004)(41300700001)(76116006)(38070700005)(38100700002)(4744005)(66556008)(66476007)(66446008)(64756008)(8676002)(66946007)(33656002)(186003)(83380400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?K+gkW9h5tZYnlinkCeUI5Az3IPSDSiUcrX00yQuX+q/EcUOKtH3tGTd/iQbe?= =?us-ascii?Q?XNW/VI0Q7uXb7MKuD5JMDFi8LYW5pgNhKsoCWQJssKnYu4usRnQrz42ckH6c?= =?us-ascii?Q?a01PPHACVTwlJLgyKInaZI1HTURpA1E2bcaIKqQoYUzAJD3p5LqRifVHzjKM?= =?us-ascii?Q?MmtpT3ywqXLJNWmeFg8i5PrqXReFlcs3I+9dwqgSv7p/S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4G2uoXrZ8a9ry2xBQNuEaMXmyCumxpds5xi93pkboZ?= =?us-ascii?Q?j9IuPP2Eou3GFhOoRbqXtdVbRtv0NPwVoTDVpgOU9tq5kYijYAS5sDQw8iRe?= =?us-ascii?Q?ZnOiDDVZnOm9mOB+bH9N/WFJGHrSpIMR1IVCF5xKFEGbtp77mLy+eOLas9ED?= =?us-ascii?Q?oVZv1tnQdaQNYklPRddidQos5wTcQeG9sucUr/GudvTdeWFfnZgAOWn/nhPK?= =?us-ascii?Q?pzF4+5QEOwho0GFRgGtD7NU+LwM7gWrpSpSF/tI2rsT1wjMUVvK0KCiVkt5I?= =?us-ascii?Q?mxcMVS3ioMpQcCSCyUMmeEmmL0CQ1nKtYfDroF73hO8yxOXRlk8gP79WNchO?= =?us-ascii?Q?DLZBQXhS0VBToNN4LjZhaBImAMRiPangE15MuAv4O0KtIba8H1WrdkdTuCj0?= =?us-ascii?Q?CS9q4dTSYdknyIzksNWIrNZkjyf7SltDVf/LRipVUiyUq002lKrw35fpSZ/7?= =?us-ascii?Q?Dld1J3SUvYamHZ02guU=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c7f484d8-d6f0-4876-b287-08daa1e87530 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Sep 2022 07:01:39.6331 (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-CrossTenant-userprincipalname: oHNKjoHfHeDmL1qM5nMO28KdSDk19UBuoG/37qpLSboK7TXwmUwQDLUpYHGc0doNs03Zqi1NDNF6gZzYpqcY4w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR18MB4898 X-Proofpoint-GUID: hkCg7Ny-AX2POupyywRrHgw-R9rMvphz X-Proofpoint-ORIG-GUID: hkCg7Ny-AX2POupyywRrHgw-R9rMvphz X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-29_04,2022-09-29_02,2022-06-22_01 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 > Adds the __extension__ attribute to resolve the following warning > with gcc 4.8.5 on CentOS 7: > lib/net/rte_macsec.h:38:2: error: type of bit-field 'short_length' is > a GCC extension [-Werror=3Dpedantic] >=20 > Fixes: 0aaf097585a6 ("ethdev: add MACsec flow item") > Cc: gakhil@marvell.com >=20 > Signed-off-by: Ali Alnubani > --- > lib/net/rte_macsec.h | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/lib/net/rte_macsec.h b/lib/net/rte_macsec.h > index 9228ebd083..d0cd2f69ab 100644 > --- a/lib/net/rte_macsec.h > +++ b/lib/net/rte_macsec.h > @@ -28,6 +28,7 @@ extern "C" { > /** > * MACsec Header (SecTAG) > */ > +__extension__ RTE_STD_C11 ?? > struct rte_macsec_hdr { > /** > * Tag control information and Association number of secure channel. > -- > 2.25.1