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 AC450A0545; Sun, 28 Aug 2022 14:01:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 61F8440696; Sun, 28 Aug 2022 14:01:27 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 9F5F740685 for ; Sun, 28 Aug 2022 14:01:25 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27SA5gil012138; Sun, 28 Aug 2022 05:01:24 -0700 Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2046.outbound.protection.outlook.com [104.47.66.46]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3j7gmqum5e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 28 Aug 2022 05:01:24 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=it6fmMod2+PnAAAvhH9ZV9ro3/utWinaSSfk2Lh0CAFVl2MHilp4PKXKYOS8CTf8d0Acu4vIyXnDHnoF8k5wpi4xZBzPu4BJv79TxysgMkCL4RrMM1nXb0J0AtTjOhX/JptjvFc6OdWlInSmqTWtgKSpM5UsyKVodAVZwohEv0TRINj/BZvgoZf/kKX5SgMOkDAQ7x56+6DzTYxE06OkTyuN2vB/m3Ysya7UBhquHTHegY55fWyv6mLk9VcAL4u+S1sc5xpBiJJQ3an3YDw3p8kh7Bkn1/7EydAlnhNvKNzHRcBQXg09wUvb8JGFtQ5NWjfLyB46+e3p1CFkUMduzQ== 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=7kvkJ0O3SMUr05D9rpCHFekrmGE0HsP78cjO3DJPevQ=; b=U3R8W0/tsPKD2vOyzzolBvgkpwl7EIiMBTnnI/0W+gRIBbwr0W2RxOdNZnCUC49B/WCugRCL+9vHNgOeKaYje8Er30yCORfLjaPWVrVSJoE5tiDrfc2nuk3+bkX3VQWWljjVwi+l2v9SF+bZURd16ItbTO9iI6mzUA9U2fWrIOI0wjBpTKwEGfYwhQ4tM7KwmuamCY+b6KfsFVrqiA377k7YfvRpeqjE4VS7d0KJIyZjgwE9gR2rhbJxFLnro0yD61jXuCqbl41I7lyf5vGYii5Pn5NB9hck+m9oY8tJqG/qsPsH4GegIFU/QsMK4qaKMEdv7ubTwK9bpOQboJN8JQ== 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=7kvkJ0O3SMUr05D9rpCHFekrmGE0HsP78cjO3DJPevQ=; b=KOed5/zOt3Hmu/mLtPq8LMV+9NYNNu04Y8wEb9+jigeWd0Jc2kvSNjq9w98unau3Wc96DzNBI/VWhGXiSN9NGzwg/rMVrGbs07uML2o978cjZdy6Ho1to2MSPVUMiBcRKzGib8uuZgS++HiHuufpfLLmEif9y/wrxBF9goMRdhE= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by PH0PR18MB4656.namprd18.prod.outlook.com (2603:10b6:510:c7::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.21; Sun, 28 Aug 2022 12:01:21 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::b0e9:25a1:1aea:4382]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::b0e9:25a1:1aea:4382%8]) with mapi id 15.20.5566.021; Sun, 28 Aug 2022 12:01:21 +0000 From: Akhil Goyal To: Amit Prakash Shukla , Konstantin Ananyev , Bernard Iremonger , Vladimir Medvedkin CC: "dev@dpdk.org" , Jerin Jacob Kollanukkaran , Amit Prakash Shukla Subject: RE: [EXT] [PATCH 1/3] test/test_ipsec: compilation fix for GCC-12 Thread-Topic: [EXT] [PATCH 1/3] test/test_ipsec: compilation fix for GCC-12 Thread-Index: AQHYqAffIURHXOYUhEKkf7U4h7mQSK3EW3dA Date: Sun, 28 Aug 2022 12:01:21 +0000 Message-ID: References: <20220804134055.1816993-1-amitprakashs@marvell.com> In-Reply-To: <20220804134055.1816993-1-amitprakashs@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9db2b872-f1ef-433f-6a71-08da88ed0628 x-ms-traffictypediagnostic: PH0PR18MB4656:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: H839NBUiPjkE/BgodeRBbFNLAAZmGR1nrqu4EAw41X0TyRaKEtSdCVu0aWg3tKGYMPGZZiCCPg8g/UY8qQoknsth5xDiD1VEC0ES5Gp0UgxQktPy1SKxwcudBbeX9oJEDWWQYOlaykA/4enQlmtTi6N4ms7glqqLzDDUWoN9Ll3M0mQC/KNH7DKYPgeXgGs1Vh22GYHcf4UYFhJECH8lV1Ni9uGaKIFHKRMwpgE8TxOw64Y+iZJOjx/eSmywiZMapHcwusP2ye/zoqYcpkHZwM3vBQ/igbTzCG2jPVBV/zLTZOvbO4PM36C+u8TRXEpEVYYYWlDnpXcRXN6KsbPWMEKrB8z880AH8aHp7cp3szwO5HTwaICMzY/Inq1x46QI+2MRHs8GPh/M0D2yLzRAP2VlXbUkQbehoTT0IsxdHKBoNO1Td2iZ3PT1NACoAhTTRTIwaaW/27JebB2JJI2Ur2l0Pfyz8u2q8h9AWQUM7iEVeFeUV5gvgffN93YbWO8MY6KJBVWwpVm0kMXjGeceUGlkU+EJY0zq/EHMDbPxwOfYunQUaE+YGBtnxU1C+BU5o+sSiOUHbjh/YUluThp82XpTn/gaup4Et9wZzpxnW4gZDCgMi+kaZfFJ4armDtNesXuxekYzVXdY/2q6oC3bOl39psTeeefTD2ZTDv/LT+9oYcBjajZnEFfsrtJdVbaKxbyUvU8VorlBB5MwyggearR8yHeRSqv2/BpwKl2MQJww+u2nWd7/r9UjAJtdhLIO2CWz/+JeMLB0M2vHM6xbjQ== 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:(13230016)(4636009)(346002)(366004)(396003)(376002)(39850400004)(136003)(83380400001)(186003)(41300700001)(26005)(9686003)(33656002)(7696005)(6506007)(2906002)(107886003)(55236004)(122000001)(478600001)(55016003)(71200400001)(38100700002)(66446008)(64756008)(8676002)(4326008)(76116006)(5660300002)(66946007)(66556008)(66476007)(38070700005)(52536014)(8936002)(110136005)(86362001)(316002)(54906003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?q7FCGJ2OL3GCDqNzF2Tt4Vy+IfnlzGZ/qK1kkgvTx2ruVzAg/k+JqED4zQjX?= =?us-ascii?Q?V/ExxZ6pgysidf+h2gHFrKXLzlUl1A/zA5zogIPmbsE8zbBmHpSgq0dq8zX8?= =?us-ascii?Q?Y9YESSLb9akRES78pKj7h2plNsE5JW7c1ZxGuzcB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b1j1CayGgkunbWpinj/mrOJ8Dvtl1iDcnKbi?= =?us-ascii?Q?YDBM40HfNq0J9msUi7bHD7u/r6pTgec5d+Oj3PfW1nkUqyMPiIWjw3F/qIz7?= =?us-ascii?Q?MopGkdyPx/ROmeswfhDD2MB8+d2+p8IoiTarHjtf1fZL5kCQlaRvnaVttDk+?= =?us-ascii?Q?nAq+00f+ckINRnbNoMjEJ7eCMBDFor65M5g0YK5rhLf16VRH+94FbUa69jnP?= =?us-ascii?Q?f3OWH0e+n3/lMd2tugQld0n82Jx5eUFBVILaa8p7JsT/afafmenJlzCHCKSb?= =?us-ascii?Q?TVdJnAr/aun2ymkb7zwpgYYdY1oZELis4NjOf4JXEkbbXmWZbjCMgkxcwMst?= =?us-ascii?Q?McjKzUJQf3VNFJw0aOXI1uVIqP4wYvbOAYCmiKGBxCv7cpNjA2tazTx58uMh?= =?us-ascii?Q?+UvUXGLd68+v/hP7hT6wIgI2bZ4LVpRhgvWSBvwB5eDSVssrmZWt4U0ejfAL?= =?us-ascii?Q?rgZ8W7KpLXufxDqch5xc/R9MA7Tn98VXXWaVDc3VbTx43maQ1HhG5f5k7U8K?= =?us-ascii?Q?RCmVb19xpYNsA4E7P5tmXjBtxWpZRh8a1KQPiDP1?= 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: 9db2b872-f1ef-433f-6a71-08da88ed0628 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Aug 2022 12:01:21.7660 (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: hQdISX9hKTiFVj+/qUlT7hNdsWgE4WfvSBbbFkH+KqLQGtZbeCHEOz+IcIG2BPkkjecdQrhgvot7TJ8SQn5eYw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR18MB4656 X-Proofpoint-GUID: hgv5TMov9Zw-KHY1Vc_Bwy5X5qkRS9rr X-Proofpoint-ORIG-GUID: hgv5TMov9Zw-KHY1Vc_Bwy5X5qkRS9rr X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-28_07,2022-08-25_01,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 > GCC-12 raises following warning: >=20 > p/test/dpdk-test.p/test_ipsec.c.o -c ../app/test/test_ipsec.c > In file included from ../lib/eal/x86/include/rte_atomic.h:15, > from ../lib/eal/include/generic/rte_pause.h:19, > from ../lib/eal/x86/include/rte_pause.h:12, > from ../lib/eal/include/generic/rte_spinlock.h:25, > from ../lib/eal/x86/include/rte_spinlock.h:12, > from ../lib/mempool/rte_mempool.h:43, > from ../lib/mbuf/rte_mbuf.h:38, > from ../app/test/test_ipsec.c:9: > In function '_mm_loadu_si128', > inlined from 'rte_mov16' at > ../lib/eal/x86/include/rte_memcpy.h:507:9, > inlined from 'rte_mov128' at > ../lib/eal/x86/include/rte_memcpy.h:549:2, > inlined from 'rte_memcpy_generic' at > ../lib/eal/x86/include/rte_memcpy.h:732:4, > inlined from 'rte_memcpy' at > ../lib/eal/x86/include/rte_memcpy.h:882:10, > inlined from 'setup_test_string_tunneled' at > ../app/test/test_ipsec.c:617:3: > /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/emmintrin.h:703:10: error= : > array subscript '__m128i_u[15]' is partly outside array bounds of > 'const uint8_t[255]' {aka 'const unsigned char[255]'} > [-Werror=3Darray-bounds] > 703 | return *__P; > | ^~~~ > ../app/test/test_ipsec.c: In function 'setup_test_string_tunneled': > ../app/test/test_ipsec.c:491:22: note: at offset 240 into object > 'esp_pad_bytes' of size 255 > 491 | static const uint8_t esp_pad_bytes[IPSEC_MAX_PAD_SIZE] =3D { >=20 > Restrict copy to minimum size. >=20 > Signed-off-by: Amit Prakash Shukla > --- Acked-by: Akhil Goyal Series applied to dpdk-next-crypto Thanks