Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp954222rwl; Thu, 10 Aug 2023 04:27:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHn6X7W6GymjlqOWPIq9ax62CA+UFRx1KiVexQF9M0xeX3UlyMU3vxiGDubR/dY5ingZkSJ X-Received: by 2002:a05:6a20:841e:b0:13d:40a9:8ac9 with SMTP id c30-20020a056a20841e00b0013d40a98ac9mr2413694pzd.40.1691666861780; Thu, 10 Aug 2023 04:27:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691666861; cv=pass; d=google.com; s=arc-20160816; b=0EvLeTQGfl4ZgKdFQF4/T58j0M7DSLrX+wDG+qaal2RgtLuzjIzFAo5tIQsgeelc32 9DaG4TG5RPPsi+FMtm9LIvO5U8Ugja1SHxwNgLpKzmaFPbUfp8+niYsYX8PdFOZZnQgP ezWfKsY6DGACh35SRVfBxuXbzaUmg8A8jlbOJ9YItKu/No9HQHYUNfOnBAFQrg0/cccz gy3oT5r2cn8gNfxrEoiH3xY4Yvs6UWlcZeSEtiXGJX2uqAM5uAtTG4MQQ8FYjxDW7Ni/ sH0ozN+46IntWI02y3QOQEz22Zh8yrL1PrvBcqKltPpGbXBKhE3Hc5f4AeDfjr44jmY/ 9iEA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=xwfGBa4OFNEuaOEv4+eVWJacfmkB0YUxnnwWgLg6uAc=; fh=/lMQ1vGFrtzdqCsaHjMM217hlLzRyvmJeappiOLZeXA=; b=WRELOWEPqSkQkKd2tyUr50hoOacfpKwgEY90ASk1pDOvaSfJBKZRPSKZbGc5oMsyuE 6rz5qQv0WcxSr/UoFPhJnq+0kXloMI2rySEGoKAl18ZyMbLq6UqjLbt6X92L1EkttvWP d7j1+2z27dBFcGThTeipu26x8HvKVKTAfF2rgINJa3qgutullBbNBR2LDAgrWdk3yyCi 3MBqdhx7rNr2uwdD+fFkKBHGcA+3PTgOFNIBQrWP75xKA9349ooPYjpaH3gQWBuQzcOE fc4OY9xDy8wY59/vZPdIS004uHA+0Zx6YDTve3NHHopNon+P/yrU83FHTl6uD5SfO8UE lJgA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=g4in4X8E; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r32-20020a632060000000b005652a295669si1395258pgm.490.2023.08.10.04.27.28; Thu, 10 Aug 2023 04:27:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=g4in4X8E; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233994AbjHJKJA (ORCPT + 99 others); Thu, 10 Aug 2023 06:09:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233668AbjHJKIy (ORCPT ); Thu, 10 Aug 2023 06:08:54 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD67710DC; Thu, 10 Aug 2023 03:08:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691662131; x=1723198131; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=+Ljfqtbx5eg61lYYw9L2I6IXg07MxQyy3wspptBHNKI=; b=g4in4X8EiJ1MklQEYuBoV+JwEyTJwL1JQ0gkXh/bw5hplAxLrNggUOOs xnf8++A2Pl1f3rOuhouL+MmgIOSz1cEuC/W0dqeys5mwLiuHAGSw8IaUR BovsmjFPHxe2fUW3Ft48Ptrd4RJI3Ko2Z9xMHgSPouqIebyO/+5llnAQq QtnbgNrc8lspPLoa52BVQBdd3NB9woVcfVngeANyV5QCyifV7tlvoe5N2 ZBW82x/zoED3WctfxGBKb0hmMX8Bb5GdQDYLzTTIcgn/KSGGXlcZUf1NM sTgYt3GO0cxKC15Yw/mTDl+C9kBv9AZlu4M2YFX+jEqdZr1Oc7qCpQ1sm g==; X-IronPort-AV: E=McAfee;i="6600,9927,10797"; a="356325786" X-IronPort-AV: E=Sophos;i="6.01,162,1684825200"; d="scan'208";a="356325786" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Aug 2023 03:08:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10797"; a="1062830076" X-IronPort-AV: E=Sophos;i="6.01,162,1684825200"; d="scan'208";a="1062830076" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga005.fm.intel.com with ESMTP; 10 Aug 2023 03:08:51 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Thu, 10 Aug 2023 03:08:50 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Thu, 10 Aug 2023 03:08:50 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27 via Frontend Transport; Thu, 10 Aug 2023 03:08:50 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.100) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.27; Thu, 10 Aug 2023 03:08:49 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IDy4GnHRQh9FYNHJWAkN8tWWXYnDnHAcHJPwlm1FOsJsgCQooXIXItQemPoaXKt2BsQ76YS+AHy2ff1rXRFMLAxg4sQgb8nx4Z91BOBkTFd0xR0jkrQgT4LhhFLrAGFTTSAwwVl0DrWiP7++Aw7R/QKnlDffwr+bejXocqvZwT9Wl62tZruM/CHOYpDqmb3dfZ5G7MTiHd7ndBi6EICFun11agq1q7Q3qITeAPrt9PMcWz/J/CYDTy8zCYhk3k/B6CHrAN28pO5smIyG/0C2KR6cbdKZQ0oYeY0617r84DcUJQafjWCr/m0jiGC014nzFeT3zzhu7cl3w+ePcqvO3g== 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=xwfGBa4OFNEuaOEv4+eVWJacfmkB0YUxnnwWgLg6uAc=; b=UXMTcf50JV/jQSuUGuxtNoIYxRxSQvlSeLvgtRB2ScZXuuSXaae70qDc9QvUmrmuakOmQE7zFabZ/k4KGNszA7OvwTkxSyEkWRVYwLSuizeKBiHV9HGb8DPIJIz2RR/jKlJFsZ8j2hxEr0tpxvAyn86qeSg7muLByBEAL/LbZdEV2mlapwMP9qu7wNzGt/VWmYrVEpJOh5Npico238XLcTojmK30g5a0yt93HwnxqjzRNgfUtaS86avi6mnlQxDPZ5YtiSLtaYXlR5Hqz6zADhiDv90U+Ieh2A18etn2mMYHErHroyZ5PbbAZKL1txF0RVA/W/y8nlMc+rN7cWbCWg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from BL0PR11MB3122.namprd11.prod.outlook.com (2603:10b6:208:75::32) by SJ0PR11MB5770.namprd11.prod.outlook.com (2603:10b6:a03:421::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6652.27; Thu, 10 Aug 2023 10:08:42 +0000 Received: from BL0PR11MB3122.namprd11.prod.outlook.com ([fe80::f04:5042:e271:9eec]) by BL0PR11MB3122.namprd11.prod.outlook.com ([fe80::f04:5042:e271:9eec%7]) with mapi id 15.20.6652.028; Thu, 10 Aug 2023 10:08:42 +0000 From: "Pucha, HimasekharX Reddy" To: "Gustavo A. R. Silva" , "Brandeburg, Jesse" , "Nguyen, Anthony L" , "David S. Miller" , "Eric Dumazet" , Jakub Kicinski , Paolo Abeni CC: "linux-hardening@vger.kernel.org" , "netdev@vger.kernel.org" , "intel-wired-lan@lists.osuosl.org" , "linux-kernel@vger.kernel.org" Subject: RE: [Intel-wired-lan] [PATCH 3/4][next] i40e: Replace one-element array with flex-array member in struct i40e_section_table Thread-Topic: [Intel-wired-lan] [PATCH 3/4][next] i40e: Replace one-element array with flex-array member in struct i40e_section_table Thread-Index: AQHZxP8YYPid22s9C0e85tqInkpPB6/jWsnw Date: Thu, 10 Aug 2023 10:08:42 +0000 Message-ID: References: In-Reply-To: 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=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BL0PR11MB3122:EE_|SJ0PR11MB5770:EE_ x-ms-office365-filtering-correlation-id: 9dfba1e2-2d53-4f3a-1283-08db9989c66d x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: SSWYYHqI3+Ch4QLmnXm81k7wNEtmBss4qWDsuMHtiVuD5D309izjg1W6gUddmFY5eiqWS33dKDjMqQI6vyXqoKjfZzLuvNTiV5AjVVJjaPVdFrrzf5OYja1TkpCQjHacaCgJUdYiFmrAejQTDNxZ3eQFHKKmfVkOazdD4mrhhnyMGDsNP/QQ1Q75fgnnN1ntUQosFpTvI72dW8zFypVlMioEsJGo1gNdqThAdQMrHeKCw9noDHZ526rogkJyJKHBr3bOCoJ0nvvszl4ca55cGy0jS5uOHPbOCZ846OWCdnYvc68gIh5fc6tec+DalfTnn6h+QmWrJWhiM+qoPvkkDqL7XM5w15kuvFtUkugL0h5XLb7eBtVW5nxPSz5zA9vhTHg+kwEYobKwAdiN+r5vJ25Ks5ZG9JEunJRuSoYSDbOTr7WrgwSvYgJlaXF/V8ZY2azCDBnNi8cGb9xgQ3QQZPCuV79FGoxnNGASGyMxi0kQxDmmiAfe2HL3j/+6AAR4usEcfNMFFVNvhxEQhdlY4jYU9xmDob2OlbmYsDCHCI18RHs+zpreVhWWAhhZ6bSgAzqq9HsDDO0Pqt2PUbLSfCGC6elJqRQ0EnZMUFQ+I2Y= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL0PR11MB3122.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(39860400002)(366004)(136003)(396003)(346002)(376002)(186006)(451199021)(1800799006)(83380400001)(55016003)(7696005)(110136005)(4326008)(4744005)(5660300002)(52536014)(8936002)(64756008)(38100700002)(38070700005)(66446008)(8676002)(316002)(2906002)(54906003)(66476007)(66946007)(66556008)(76116006)(33656002)(86362001)(82960400001)(966005)(478600001)(122000001)(71200400001)(9686003)(41300700001)(55236004)(26005)(6506007)(53546011);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?A5HR50PgSt+SyZ3vWluTbuCE4/HQTlZj5FDi+vzK5WLiWCZyB0k8npk5Qun8?= =?us-ascii?Q?CahHeimDUQSWFOOAPXzpBodxXM1N8mHJ2xwPKHu6FXCj8M/a0OFw7q6y9t/Q?= =?us-ascii?Q?uCc7v2ZmfVko64byrJECw6F0rr8jRYw6W8rcXaUqttzC2FkT3CKpo0IzC1Gu?= =?us-ascii?Q?5O5ZfRHWG/q3WfVgZ4GaETanYkg9O8UIU0zSmm2yo4R31k/iBtE5qgfyeLy8?= =?us-ascii?Q?YGZzYirkJ7TwE3cWuo6GkPNs01i41IOkNfrJ5Gq7+N3FKVgcQgvx/nOMCTLv?= =?us-ascii?Q?2mzkCTnowPCOBpthpvaEmTgZvTfx3mONK2s4qKwJum+SyR2tqT2xRz4NK/fg?= =?us-ascii?Q?TtQ8CHCbg0oxDaTIyMK7XdS57XgCwvkSp35x2hHqNM9qVz4Nkt8MiVC7Kzbv?= =?us-ascii?Q?z+38FLNsXvk96NpoybnBpUXOTPNRhz85Nv2cDiwI7zcnhTyqGqqsf6o6kzr7?= =?us-ascii?Q?RR1vgRxEDxvhui88lVsciIqBoowdjQYhB6MrbxN9UUuC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q+Yxe1nNOBc1Hnjt52yAv58Cz2fwH5wICpswVVxTO0Uq?= =?us-ascii?Q?KsjfqESvpcMpnz5X2tuGUCPlrt2qWoyVMrvKPt9riH2lspDkFXOmx6/QBFem?= =?us-ascii?Q?PPVvl/KlJoAp02Cy1skcs5HYJ/l66EjwJK3PXArKhrkOaf2P9BWIy5aJukdG?= =?us-ascii?Q?Db3+dsMXd3e+woUHPaXIJAba6alPyy1GNJSJMNeCKzXi2XyeDWCkjda5tvT+?= =?us-ascii?Q?yA=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL0PR11MB3122.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9dfba1e2-2d53-4f3a-1283-08db9989c66d X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Aug 2023 10:08:42.1630 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: vpBpECu74B2aCWJreldY7djsq5jkd9mL2mOHKxjsEuZHxEC4Kk/eehDgRvrIkS5O8ydSeNoNg08uTs1WtGNgfdsHPntwuyXaRXWr/Y+uEiqYu/A++9z43CG7NUgdjOhy X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5770 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Intel-wired-lan On Behalf Of G= ustavo A. R. Silva > Sent: Wednesday, August 2, 2023 10:37 AM > To: Brandeburg, Jesse ; Nguyen, Anthony L ; David S. Miller ; Eric Duma= zet ; Jakub Kicinski ; Paolo Abeni > Cc: linux-hardening@vger.kernel.org; netdev@vger.kernel.org; intel-wired-= lan@lists.osuosl.org; linux-kernel@vger.kernel.org; Gustavo A. R. Silva > Subject: [Intel-wired-lan] [PATCH 3/4][next] i40e: Replace one-element ar= ray with flex-array member in struct i40e_section_table > > One-element and zero-length arrays are deprecated. So, replace one-elemen= t array in struct i40e_section_table with flexible-array member. > > This results in no differences in binary output. > > Link: https://github.com/KSPP/linux/issues/335 > Signed-off-by: Gustavo A. R. Silva > --- > drivers/net/ethernet/intel/i40e/i40e_type.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Tested-by: Pucha Himasekhar Reddy (A Co= ntingent worker at Intel)