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 4644D45AFB; Thu, 10 Oct 2024 04:45:53 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DDB0B4029A; Thu, 10 Oct 2024 04:45:52 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2087.outbound.protection.outlook.com [40.107.220.87]) by mails.dpdk.org (Postfix) with ESMTP id C1E2E4025C for ; Thu, 10 Oct 2024 04:45:50 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=HhnlYdDS/WEfkBarhK6+bNRAOW8eoW5mxfv2dGq9lf8LSqFviDe+SxIDDl4gNpR4Fmbmt9RuiCXx6NOwNCMJzSxpQEEoVwFAu53kyU65Jj7MMeXNU+TFxu9zOAIHhAB4CnUulijXAFmhOukgy0AmUR8TuhKr+wVYBFMhgMaRn1nTfZ4Sqddo2cin0tPxDVwEZSh66lprkF53QiRMfNNvCIQUjJGrgsoGwxIs+8k+o2vwsX5Ia5YkA6xhc3ut5Gwjt8oZSYPgTZMDMHgjK7yW4+8dFzNcaGQtn3gn4/0j+lNlfC97liwdfBTxmICKOJa499rwnjADjqFoVKzlzXLGmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=ej2TCtdozygsShkfz+S3BPNDplDszYWPQ9a0dQEJGW8=; b=bJkiFiL+ac2pHd1vm1Q1HfDO3AUwi0VhSv5La0SrERRaMWBYRRQUCIyrjmLPC0rTSjk7LfxQ5m4S4ZPC3TVEn0ik4BHMjQdOCKf1AboWcqlBObUb9WodGigVbao6h1AuCkebIXXVh4HldDtDbl1NMBCL2zNPLt7qxrd594Xr8JcVcnh3IIBnuivNCQ/IAAdhH/IOBkEwuxf7OMr1C2SUIoA9gjC8OMWH9Z0OZNCA57bFB3F4Wl6ZHAdPc+1Pe1SLVFT4qJnnPuCTGwMhb4b7jdd5cysUIxUM9y1jP7yCM5K3NUMy7miwp8RdJigdXDcrM7HqFz7gUUPNsqdhUunflg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ej2TCtdozygsShkfz+S3BPNDplDszYWPQ9a0dQEJGW8=; b=K+RDL/WWh8k+UAIQColjnLnXdy0W+5RKrX/qcCCbRjP9cKVhER8kYdIR0IMpQFXDvDjNOY+w26AAtN1QL0ZqKAXtBc90eZfRT8KjMW/XCOMyj6c5MU2IIsat1KhHRVSrNe7Zvci/KtBhrG5xvs6OEOZ62Wfb8X17ygMT7IPKjWk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from SJ2PR12MB8830.namprd12.prod.outlook.com (2603:10b6:a03:4d0::9) by SJ2PR12MB9242.namprd12.prod.outlook.com (2603:10b6:a03:56f::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.16; Thu, 10 Oct 2024 02:45:47 +0000 Received: from SJ2PR12MB8830.namprd12.prod.outlook.com ([fe80::c3eb:df02:eaa9:2055]) by SJ2PR12MB8830.namprd12.prod.outlook.com ([fe80::c3eb:df02:eaa9:2055%4]) with mapi id 15.20.8026.020; Thu, 10 Oct 2024 02:45:47 +0000 Message-ID: <8a78ba49-23c9-4e67-b78e-a73643892ed3@amd.com> Date: Thu, 10 Oct 2024 03:45:26 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] ethdev: convert string initialization To: Dariusz Sosnowski , Andrew Rybchenko , "NBU-Contact-Thomas Monjalon (EXTERNAL)" , Ori Kam , Aman Singh , Konstantin Ananyev , Reshma Pattan , Stephen Hemminger , Akhil Goyal , Anoob Joseph , Potnuri Bharat Teja , Hemant Agrawal , Sachin Saxena , Matan Azrad , Slava Ovsiienko , Bing Zhao , Suanming Mou , Chaoyong He Cc: "dev@dpdk.org" , =?UTF-8?Q?Morten_Br=C3=B8rup?= , Bruce Richardson References: <20240801092722.3732917-1-ferruh.yigit@amd.com> <20241004041335.2916435-1-ferruh.yigit@amd.com> <42a126ab-6162-4f9e-b547-4e9a36e723b2@oktetlabs.ru> Content-Language: en-US From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yC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WaeYazoYYEQ NYmWatZNMAs68ERI2zvrVxdJ/fBWAllIEd0uQ4P05GtAHPdTIDQYp545+TPV7oyF0LfXcsQs SFVZE6igdvkjfYmh+QOrHGZvpWXLTmffVf/AQ81wspzbfxJ7sYM4P8Mg5kKOsaoUdyA/2qVe cMh1CLUHXF1GlofpGbe1lj4KUJVse5g3qwV7i9VrseA8c4VIZewdIjkzAhmmbxl+8rM/LKBH dZUMTzME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SG2PR03CA0116.apcprd03.prod.outlook.com (2603:1096:4:91::20) To SJ2PR12MB8830.namprd12.prod.outlook.com (2603:10b6:a03:4d0::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR12MB8830:EE_|SJ2PR12MB9242:EE_ X-MS-Office365-Filtering-Correlation-Id: 4cf4a779-78a3-4c63-14ca-08dce8d5a4ba X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|366016|7416014|376014|1800799024|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?B?ZkEzOWVod1VPTHZiVVVLRk81dUxFUkdIUElFaEw0YWpIQmN3QVR0WWJMNVF4?= =?utf-8?B?dzQrb1l0T3RVeitNWmk1K2ZLeUhIODNKNzA4OEJlTzZ3Qld0aWxZNjdXSHFY?= =?utf-8?B?SmNSenRMSzVZcEErYnljSEFPR25wTFRaWUYwUFRDMms0VlRXY0tteE1YMFhG?= =?utf-8?B?ZTlhckhNVWsxTDNncjFXcDNiQkY1Tmp1NFhEZkRSUXRyTUJWTWx3NnVnbjNW?= =?utf-8?B?azN1WmNITmVvNnZTNW9PNEJ0N2xCbnFkY09hTmQzWEYvRUZWN0FNcmxtYXMw?= =?utf-8?B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htQXFDNk0r?= =?utf-8?B?RlhtSnRhOFYzNVpYSTJmUEp6Y3F0d1hMYkRwSGorQ2ZvTndqV1B1ZDkzSS9C?= =?utf-8?B?MFZkaWd6VUpSTmhaWjE2aXZRU3Azd1FTR2IwUVRzQjh2dUdFcCtJcEhWZ2hq?= =?utf-8?B?dG4vQU9EU09MS3NTZ21SbmdwanFxZ1BFS2owZ2F6S1JaVkxlMEhFQ1ZvWlp5?= =?utf-8?B?NG1HSWFwWkpIcVU3SFVDOWRuVjNzdGVFeElueEcvTjU2eFNGUHgrVFNyZXNL?= =?utf-8?B?S1lBVmZRSWlkbkdTV0x4OTcwaVRVWktiZW9hUGZJcEduUHc2M3h0RnJ3MXdn?= =?utf-8?B?Sm4vVXlxaVV0UGpDcWtHaGo3aEJMUDFYeU1SVXh0c3R6OGRMNWdrMCs0WnNT?= =?utf-8?B?cnREY0tDbkM5ckdITlpLOHpzK3JRczB3R2twYmZaWUViWjlEVXJOa05JTElH?= =?utf-8?B?bEx2eEJ0b3ZldEpYU0Yzb01iTGtNRWd4R3ozSFE3cGtJcVk5dGo2MUVMNVRX?= =?utf-8?B?Q1FOU2pFZWNtdC9EbzFBRkxaa2FFM29sRm50NFBXNmdSSStxSTVRTEoycWho?= =?utf-8?Q?+SqNIb4XFnqx3MLkQRhjhjyp/x4u/uMhPLLq7ov?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ2PR12MB8830.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(7416014)(376014)(1800799024)(921020); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?d3A1TFhBMGdENUVJbmFxU09iTGxWb01RUGxGVWQ1REFDOVkyeFN1OVVsVEdS?= =?utf-8?B?Z3M0QVdRd2xVK3BZcGFSOEJOQmVjZDJLNVdGMVd3NE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pOTFaN2poWVEwbmlRMGZiMHFiRXVjRjQzaW5hVFdzTWZSeHNwcFE5?= =?utf-8?B?bzUxVzM3eE1RNkxkdFd3djRYRFYwV1EybFhFcFZCUHpKVW5ocHowdVhsQXd2?= =?utf-8?B?OEJINkRNOVphN1cwZ05lTUtHcEFzb29yY1hmVlJ3Vlh1Z3ZCSnpCVlZHRG9j?= =?utf-8?B?YzBZeGFuKzlSaVkxSjIyZEgwWTZOVm80U2tlaGxYWlJ1eXhIZkJTZEVvQ1Y4?= =?utf-8?Q?E7Yfxb0PryqnrRVdFz2PprDad?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4cf4a779-78a3-4c63-14ca-08dce8d5a4ba X-MS-Exchange-CrossTenant-AuthSource: SJ2PR12MB8830.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2024 02:45:47.1849 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 6N2+ufy9FF/T91+NnRg8JYuBHIhwbDvegSlgShyg6ofDrUjZvMpzUADdlv/39T+J X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB9242 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 On 10/4/2024 8:18 PM, Dariusz Sosnowski wrote: >> -----Original Message----- >> From: Andrew Rybchenko >> Sent: Friday, October 4, 2024 09:27 >> To: Ferruh Yigit ; NBU-Contact-Thomas Monjalon >> (EXTERNAL) ; Ori Kam ; Aman Singh >> ; Konstantin Ananyev >> ; Reshma Pattan ; >> Stephen Hemminger ; Akhil Goyal >> ; Anoob Joseph ; Potnuri Bharat >> Teja ; Hemant Agrawal ; >> Sachin Saxena ; Matan Azrad ; >> Slava Ovsiienko ; Dariusz Sosnowski >> ; Bing Zhao ; Suanming Mou >> ; Chaoyong He >> Cc: dev@dpdk.org; Morten Brørup ; Bruce >> Richardson >> Subject: Re: [PATCH] ethdev: convert string initialization >> >> External email: Use caution opening links or attachments >> >> >> On 10/4/24 07:13, Ferruh Yigit wrote: >>> gcc 15 experimental [1], with -Wextra flag, gives warning in variable >>> initialization as string [2]. >>> >>> The warning has a point when initialized variable is intended to use >>> as string, since assignment is missing the required null terminator >>> for this case. But warning is useless for our usecase. >>> >>> In this patch only updated a few instance to show the issue, there are >>> many instances to fix, if we prefer to go this way. >>> Other option is to disable warning but it can be useful for actual >>> string usecases, so I prefer to keep it. >>> >>> Converted string initialization to array initialization. >>> >>> [1] >>> gcc (GCC) 15.0.0 20241003 (experimental) >>> >>> [2] >>> ../lib/ethdev/rte_flow.h:906:36: >>> error: initializer-string for array of ‘unsigned char’ is too long >>> [-Werror=unterminated-string-initialization] >>> 906 | .hdr.dst_addr.addr_bytes = "\xff\xff\xff\xff\xff\xff", >>> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >>> >>> ../lib/ethdev/rte_flow.h:907:36: >>> error: initializer-string for array of ‘unsigned char’ is too long >>> [-Werror=unterminated-string-initialization] >>> 907 | .hdr.src_addr.addr_bytes = "\xff\xff\xff\xff\xff\xff", >>> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >>> >>> ../lib/ethdev/rte_flow.h:1009:25: >>> error: initializer-string for array of ‘unsigned char’ is too long >>> [-Werror=unterminated-string-initialization] >>> 1009 | "\xff\xff\xff\xff\xff\xff\xff\xff" >>> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> >>> ../lib/ethdev/rte_flow.h:1012:25: >>> error: initializer-string for array of ‘unsigned char’ is too long >>> [-Werror=unterminated-string-initialization] >>> 1012 | "\xff\xff\xff\xff\xff\xff\xff\xff" >>> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> >>> ../lib/ethdev/rte_flow.h:1135:20: >>> error: initializer-string for array of ‘unsigned char’ is too long >>> [-Werror=unterminated-string-initialization] >>> 1135 | .hdr.vni = "\xff\xff\xff", >>> | ^~~~~~~~~~~~~~ >>> >>> Signed-off-by: Ferruh Yigit >>> Acked-by: Morten Brørup >>> Acked-by: Bruce Richardson >> >> >> Acked-by: Andrew Rybchenko > > Acked-by: Dariusz Sosnowski > Applied to dpdk-next-net/main, thanks.