Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp1066210rwl; Thu, 10 Aug 2023 06:05:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF9/bx3Jkif4kmu2AeJpMaK6HN4s8fclDJUEwcsHssxLZpY4o/J3aSzKGz1XR0UUQwcuFZv X-Received: by 2002:a17:90b:390c:b0:26b:f67:9d1b with SMTP id ob12-20020a17090b390c00b0026b0f679d1bmr882276pjb.30.1691672754797; Thu, 10 Aug 2023 06:05:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691672754; cv=pass; d=google.com; s=arc-20160816; b=t3RRQcvTla1wju7vDyST+6Jwg3rWiGG1ghjwGCwrYOBLZnHC0YBcxpeDQYTXdoC3h1 fSZMpewfUoYXGOp1tR7iHktTWI2wcW9KKJf6N2w1TKpAvGuZpfKnvvC78488QbtxllUT 2s3Eeo1njwbhUhJjf14GYN7K4LaFP+peZBgR/QI6G07xIksrQji6SAad5SjgMWHJLTF4 D6CRGJ60b6PmCF/axWL/xlut53y1Oo8B2CvM5WUQglJ5mDW0qYQNu7gUcgmszB9WBbML u7TJwWGHnLJShj1ETZa0XbLpOh0n+4F3UX7sVSI/unwTjoOCtZUdqbNU0rPSn7+7z+PF tHOA== 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=AznGjUuUepD5hhfdVh/YZQa4sIk0tWZjWcwKuICLFN4=; fh=/lMQ1vGFrtzdqCsaHjMM217hlLzRyvmJeappiOLZeXA=; b=GWJKmQummT69EZW7EykrsyF9WXtF9cUVPHJONd13G7AH3I0VYvyRW80rZ0thPXJwnH KCQkT/r18ddnED8iCQC2+RavjFPBPiasxHOLmux44+wMXClKqdd/nxlSpxn7KRKspUiz eXwB+h2a/BsV7RZnDmb36S+SbjUrfQtSBip2WWXLrxQPodSOx7K7VJu9wobU4moaxfFc JM47lb6K1Imo1pcrCUHxa/Gi4OBgv6ZuyWzfjoP55qj5NigkRnmLHNMhBwMM+oJneNSr aMA7w0UG1hcW2hyTfiWEUx/91v4N/1gnBJ18fM4Dhr963Gs0I/sve2MvTYdFJPLULQDH ylhA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Bd4lyYFb; 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 6-20020a17090a08c600b002692f3b7567si3572560pjn.150.2023.08.10.06.05.39; Thu, 10 Aug 2023 06:05:54 -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=Bd4lyYFb; 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 S234290AbjHJKOJ (ORCPT + 99 others); Thu, 10 Aug 2023 06:14:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235053AbjHJKNj (ORCPT ); Thu, 10 Aug 2023 06:13:39 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B39310E9; Thu, 10 Aug 2023 03:13:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691662388; x=1723198388; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=AznGjUuUepD5hhfdVh/YZQa4sIk0tWZjWcwKuICLFN4=; b=Bd4lyYFbOTrJJcGeXg8pErdDwC+MGyye5lFb1shjJrusHjwKslMrLX/c RCGoPvzNl8H5MmO6fEJZvh3i1QQcyNnrKjQu48yOIOvCf7DTtNAb5d9Oc iOfC9wEk/Aa79FP44kEQiawmjKbnvT6d7P8C49KGDHNtd7s2qWogjS6fA DLkb6ZIKQlIhCPS+4VeVS0NyW0zY23NQS5gJbhjGP1xlPWnmZJnmtjKrh YEU5+in/BY00ZEoeRoeZWmJCqh0FyQf9V9ea3QjxFGwmX0qcHFHJYjQEU w3OcXUHZzy6cCETrwRGj3N6qyipY+nys+aTu7HSJ+Eq0k3wWVEDWXwArJ A==; X-IronPort-AV: E=McAfee;i="6600,9927,10797"; a="361496800" X-IronPort-AV: E=Sophos;i="6.01,162,1684825200"; d="scan'208";a="361496800" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Aug 2023 03:13:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10797"; a="906004335" X-IronPort-AV: E=Sophos;i="6.01,162,1684825200"; d="scan'208";a="906004335" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga005.jf.intel.com with ESMTP; 10 Aug 2023 03:13:07 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX603.amr.corp.intel.com (10.22.229.16) 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:13:07 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX612.amr.corp.intel.com (10.22.229.25) 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:13:07 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) 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:13:07 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.100) by edgegateway.intel.com (134.134.137.100) 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:13:07 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Vg+YVr1S1l10i/9zkXfuqy1EiSoQB2ErrefTOGpJaaZYpMbnmWPAyWit74upAqD2y554JYTqVlqgmVqTOQQvzky9ATVAJyxuo/OrgkS/zYNKbAUW148TD7DQ++xtagMO6sqbp2W3+mN5jrfLUMU8vkTJK73iRhMaCindx2z7EZS7zgHELH02dBWq9j9lP4Bq9lCaKanZX0gf0G/Y+PNui4lkpQI0Fl+zln8h8vSpu+swWXIY+hrop1skTUHtyDcf10Z8497xYQnNzWAJDnnHMEOQzkHdYybm1pZJ1pCQTvvvIjmcmVLWgDD5IoeGs9duz58mm+bTLfLTlgoXOHf/wQ== 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=AznGjUuUepD5hhfdVh/YZQa4sIk0tWZjWcwKuICLFN4=; b=UBRkLv0HVS90FI7jzIUltdOs57GmXoaSTxPHgx3sAQ3mpG0pge+IFnN3n5UwVqHgDzC9HAfSSxwiIniZWWhkqHCdgGGozIk3EdQDrG16c1FFKDXVIH4OEDl0Sjy313eAhXhy5G+gHqWD7wK/WPIC8d/WESl6+JZgw2GATZWiqX6QrnniqAqCvAk7YcBR4a8hT8SgXuXJIbEzjdRkzH7LHzCe8EtRlOU1ZT5aVMqlfsAm/o6Sps1Oj7iWy3ty2MZtLft9o7F8qU3RuIDAXtm9ZgTmD1hl8bxYtx81Jrz8dUU7ohWQ8Ntl3VKXoKwIBF/74R6+pXxtLyCBz9TZfCavbg== 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:13:00 +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:13:00 +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 4/4][next] i40e: Replace one-element array with flex-array member in struct i40e_profile_aq_section Thread-Topic: [Intel-wired-lan] [PATCH 4/4][next] i40e: Replace one-element array with flex-array member in struct i40e_profile_aq_section Thread-Index: AQHZxP8nAR2Jb2eCKka8a4wo7rN7Fq/jXBeA Date: Thu, 10 Aug 2023 10:13:00 +0000 Message-ID: References: <8b945fa3afeb26b954c400c5b880c0ae175091ac.1690938732.git.gustavoars@kernel.org> In-Reply-To: <8b945fa3afeb26b954c400c5b880c0ae175091ac.1690938732.git.gustavoars@kernel.org> 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: fb889d9d-bbfc-4613-f586-08db998a606f x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3QAVklzDe2+xJ7f5crAxFmi8Lmj6h7ZgpLMtfijs0+DLqJmHtS7Pv7KrdNgaQhBSscOBL35A11rY2ozWXKOpskho5C4ylM+ecSIVCMNY6RwPOhDzMPm7ert4Qnb9PHwHlIe0lS0rNDeb4v06RXbhUxOdTZkyGlBwE2TMLvcVthmjXQq+2M0/0cTSVAVZK1uCsVfogKWIEepGk13kElDAegCyZ63XbwdX5b/Z5vYsx+fNj8wQAUvN2jNUoPhot8uHsTbHdbrj4mqFvuPBRrVO3jH4TCwXT0WRahRYLbSjCkCpdkDIvw8lzlgt7UYRNaXHSPrbvs/mBtZtKSsE7BwnaM7DsI4G+6KKTCMpFEbD4mUzt9/+v4SYMYAiuq9N8FV/ai9swQjwu9xu+/5xJwh4gjdR/GehwSUKAjaNYdzkFeSDKdqvFtMBFmW5uKzw1kO/cUxd4eNrH6TVNI3HUxCxgU49SBYPhODfw2Np7lnt0TYUV5z/VZBqpf4QN8kGONYQjkdEAF1NuMXEboqwUbMlHaWwg+IQQiYkP1mKEvOb9ylvKGgt4HblQv6DzVof8d8SxWEvjGmRthcgqkULXUQIFDPv/Q6DkBQBOpQGaj4F1/E= 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?pGf7yYQ2z8TbAvk2d43JqH3j1rglD6DaJMJF9Brit6azUqWfVVtda+WjcnqQ?= =?us-ascii?Q?Q9RiZfJfJ+EDBywbPJs6qosFvphK0x1QeK3MRhEkjhD2t3MMfVW4/tCAuLfP?= =?us-ascii?Q?1I2jqotd4jIQtlPCkQXVKL2CwxjNCMHtCSGEMksqdfAsgu4cwV4cDs83BwM9?= =?us-ascii?Q?HZxHJZCmshrg4EhxC/xwPuDa7mc3EKAIgG8/KhoSC/yCfipoV9QSXzWtzgVc?= =?us-ascii?Q?jOE6fcNN/uFC50IYRs0ON9tlaqi8a4ur12Jxrk7cWNnmxi8QohtqXwX49xMo?= =?us-ascii?Q?QclIjl2VULSmzpvsIzMgHtGsNSX7mNpGzgYC72KdtZJr/XM6HzZjcDDQM/Cn?= =?us-ascii?Q?QKd7vDQHXSo6ZbTt5ayTAuVuDajKvTJqOtRX3QDPHDf7Dyldu2IkP9+h6cGi?= =?us-ascii?Q?UPqV4sLzQrQJZ9s/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I?= =?us-ascii?Q?CIFR2hLTff/CMK4AUdCXEAhVOF1KMj7IKTdazrnRMVq7/VrraO9tIIpiGPBs?= =?us-ascii?Q?KCtm+z+WdpNpyeug4wH73b3j8peV2cYMV+LZ11MJmrW6TY5vkQFjbNwIF/g0?= =?us-ascii?Q?f4BZkpDLDygErbFwcEavjTM6ypLkUlOtThX/uS9NdI3Tgsi3uCFXmcKnv4QQ?= =?us-ascii?Q?MEhIjuUsEBx6yRsOodTL9XOvfz8mcz2kKiJ8n1fZtxOphZpMtZx18L5bK1z8?= =?us-ascii?Q?X1N9FOFFdZh8vZA/FsBd9HnBjDinRNnSXkzRG3rWDRiWDN7j2C0HGEFrIClf?= =?us-ascii?Q?xA=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: fb889d9d-bbfc-4613-f586-08db998a606f X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Aug 2023 10:13:00.5225 (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: cjmO0KsJt8u9ltV/z/z08vG4rPpfguh/XBPEyyB5leVxUa7Ssp0lyQUety4G3IMn77q+aZhTxWVJTkviMnevOwCSvzE57kB1uUACPkqwkKSUgI13TlJH1EIVgFzuWu9n 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, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, 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 4/4][next] i40e: Replace one-element ar= ray with flex-array member in struct i40e_profile_aq_section > > One-element and zero-length arrays are deprecated. So, replace one-elemen= t array in struct i40e_profile_aq_section 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)