Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp1032248rwl; Thu, 10 Aug 2023 05:37:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHFH2Y2G0qlr+tbM5TFqvd7qY483YTrGbnm8S00PfzbbRwDQHVbF1k0mo5Qh4HZtVCOo7De X-Received: by 2002:a17:906:8479:b0:99c:2535:372d with SMTP id hx25-20020a170906847900b0099c2535372dmr1860792ejc.33.1691671033535; Thu, 10 Aug 2023 05:37:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691671033; cv=pass; d=google.com; s=arc-20160816; b=MxorLR36hFTLZnWoL5FVumRX2GhZLiGpDT7vrTQHilHXioNfMJfFnL7M10yNz9bOwE MMTbBV/GXGmLDpYNsWP9eL33ofowuX+ttO38OQGD1ljES72jgMvHyHBWn2nBvtrsSOFS h9hs3/VhBrBm9QOAJpMGWcJwZEF1hNkFtWI2Qgf6e1571B7KEVQJsb6LoE2PQnv+OHOH 9e//kPjLIyvYSya0H46HmA6LsU3cSDrnLaTktirfhBvrLZZQVMjBTcYflPtQVt+UDeUl hcNx9lrPpflfksyOy3m0lFvQfxz0d7YkPPI5C/eSeD9VWNsm5AFau6HZEzg41dxR1dPi 8N8w== 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=99jfdKhfvP0ugd6kQZ2cGW9XLYIo1fKEYyf77dR9vN4=; fh=/lMQ1vGFrtzdqCsaHjMM217hlLzRyvmJeappiOLZeXA=; b=RarNS4iILAEZ6wgjpCBurCnEzcpWQjVIrFQXL3yW+rcERjtu4Uq7aiXk88yNyouQlQ uDVDPEiO3jbmtC4RawBioGeH/RXXfV5USasa0AJL6IqITSRqZO7R+oUjC+IzA8Nk8+M3 MgbsbU2a9rhVQGDBMh0BPxI1uEUV0q3JNHvE27wIudIjk6bsnLT2qiRKE9nmlhC/Rgap KneUt1hFpVCzoDo8WKI3odjGEN7TkAG5mcIhNgx9nvoYmeqxawyswsgNqwmPq6/D0szo lnghEbO2vr+97NWl5CANaIt9h8QqpLVafeRpXI027iTdEbfmQYLsgzIzhYuwrNVi0hm9 Sdiw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LXYYukcA; 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 x3-20020a1709065ac300b0099302221714si1455224ejs.790.2023.08.10.05.36.48; Thu, 10 Aug 2023 05:37:13 -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=LXYYukcA; 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 S235305AbjHJKGV (ORCPT + 99 others); Thu, 10 Aug 2023 06:06:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235170AbjHJKFn (ORCPT ); Thu, 10 Aug 2023 06:05:43 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1225B270B; Thu, 10 Aug 2023 03:04:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691661879; x=1723197879; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=OGFFbEuvbah1FtS/+aaJuobo+RAsPpVq7FXwQwMGiHY=; b=LXYYukcArxp8zJ1ECyWp5mpClD+MsaSUrKPoI6Ur+GdJ2V5BVH7HC9+s 4B8kZ14pDR9m/okvknZK74N8+Q3NnJmdqlBuf9FNxkx0NCDJvm9b4Ajwz SMRx4ZpdpzVUgQNuNH8FQdnnD9QFeRwobM3RV0H7hhI6wbOPAZz/hW1JD W/JbiqH62kabVald76PElA/Ug2ezmxwfKonzp7oScvnzekwoHhXn7WH/N B3ZmGFLgbzzMFSNLAh2DCJBtureEY6dRZwQQWCIUm4kESciZZTVzXDw9Z bp6ggl9hEaNwC3CmTB0bkWx9fEiFTYcZFVmxVUavOLRG/fyyigFHIMPfe g==; X-IronPort-AV: E=McAfee;i="6600,9927,10797"; a="402320261" X-IronPort-AV: E=Sophos;i="6.01,162,1684825200"; d="scan'208";a="402320261" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Aug 2023 03:04:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10797"; a="855878716" X-IronPort-AV: E=Sophos;i="6.01,162,1684825200"; d="scan'208";a="855878716" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga004.jf.intel.com with ESMTP; 10 Aug 2023 03:04:38 -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:04:38 -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:04:37 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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:04:37 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) by edgegateway.intel.com (192.55.55.70) 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:04:35 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kflO0ph7E6LlhgXV97O9RJEm/MzKzGudhUc/sBOoqpCtxQHouHmwdiFtoaaeSubqfBLmFTemdLMl+KgYyDqosW5szLS+EsU8NQ7+Lw2BUklU37adufY7qmjjxOhvHkq1dcQn4EYD80VEJbDQ8htWkVqOn5xxHlCLqigAkoOuSDWcPGL5KwxhgeyxSTPaMco+LPtcEBaeMhTunr5b+eFVzlSwoCVtKwY47T5mcvO+EHyNSJGa8lY8213IH6nBS06H5kYPdONPzmqrSGqgOSq/v6WtRFO/Lgy2H2j7e4kEPCw+CTlxSolxeWsqu7byklX56isD219AdvoFT3DlaoYQIw== 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=99jfdKhfvP0ugd6kQZ2cGW9XLYIo1fKEYyf77dR9vN4=; b=oBACJEIePRv5PWCH8LmqrgfetHrQRJJwlWEhSHDdhpyTdieINcp4XU5XHkG4bH+ufvUEefN3FxIFfpb1Xdk4mF/7b2uuX41iFrvscd/pr984K4sBK9kSvsYYVrY4s4fJwx67MUniM9jXtahj/4LLL63y5Uq852d365upIfAb5Ifk6V+zoZwLUHKje033090MPmqX0NemLi3o4b++w+ca5gq4/wllf9Z4lll2Dwexrh+0TGWlGaOzZBwgMfm4+O0voRB67zMet9tIDUNU6dVAZRnuH7m5HaMvZCWw+ugY2gl3cTCf9MHbnDbvU65qkJW8BjBhehtcv3wzj1GXtZNHEQ== 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:04:33 +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:04:32 +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 1/4][next] i40e: Replace one-element array with flex-array member in struct i40e_package_header Thread-Topic: [Intel-wired-lan] [PATCH 1/4][next] i40e: Replace one-element array with flex-array member in struct i40e_package_header Thread-Index: AQHZxP70g5LC9RrrjECHun+dGiqgNa/jWX1g Date: Thu, 10 Aug 2023 10:04:32 +0000 Message-ID: References: <768db2c3764a490118f6850d24f6e49998494b6c.1690938732.git.gustavoars@kernel.org> In-Reply-To: <768db2c3764a490118f6850d24f6e49998494b6c.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: 35d6fbab-b919-404e-63fb-08db998931a8 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: zdyoChkAheZbOR+dCsdq6ZPGQmlqWLPaURoBwPSmtzxTc6vHZI5h/u0jhoiaPUbHRerDahTAvMu8qcfSvoBTtNuInPfYnTzeHakE2aJGIHnqNdRxgo45rLduYvr2o+sKyXahYs7DH2iCZ/UwRhzRNvh8vkjRiyPhDf/7nb+gkY5fzA8SKEXEeb5PkW83TihQtl7Zpy6bKXR/61Fnm5QZCOjgh43NAArUWdwly/vsN/e+CmsBSNG9kWANMS4n/FodCmacWtmnPTgEc+nSXdPU6s3s2LkYOpNhK+sSAHGXjMMPk/4nOHNa0T2Hiql5XYB2I57O09mYs59f8p/IUbUfcpIamm3zy7AGX59YxxgkampKIZnYPtI6r11yQH+54wJZj+lVB90/3RdEp9jpsrfpads8Ug8pryZZf+H+Gw+KgDcthb8+JTOLa7RotPUCHoGUkcbQdr8pRbu/vD0XVwCa0v5FmAyvf0TkPVo3ZNB8Pney+BVHTXV6vy3gM0ORkZNIVoUS3oPPCnVjiOuCjKNHrVQQv4AP1O16FOEY2KqqMgFpDoXNrfAxQpQgepb1Ww2Z4nj76C/Q6DslsynI/NKMddhgWmgTTNgC0VxTh8TidBo= 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)(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?KStXlXKLmxdmQvZHZ7ddDZfqWa1UqaT5dE4pt9B6tL1qcPIJDhi8y++I/vbW?= =?us-ascii?Q?/dYGuzpkSgT24ZTKmiRe//4jzyDxvOuY5RZT70etfnJKTYSGibZa9oKb3pLo?= =?us-ascii?Q?yVoK/ydTzWKbSGd7tufiqTbT5GGblARfuBOOl55lQz+Y78vU9UCLjI2KrUga?= =?us-ascii?Q?yqcQgvktcaol3IT/7sFUznCqWrzW0MDAJlmEhdjYcLcR1Mk/YTSBpq9N6did?= =?us-ascii?Q?aWzmLEw/K6vacGncTBQ1MtDaVVDO7GZkEtgnd0gMbcpuIkYKKDFdV1UKDvW4?= =?us-ascii?Q?eNXTbWZJFj7OtuwRjxRVobuirt+U46JmVD1L+TactzIMr0RhvmCFKx5vXNl9?= =?us-ascii?Q?vqK6DhPNbzbqb96NPbxCEBurfTRdCzDDHwxmAC29QUW6eeM7qfBM7nNl4yUX?= =?us-ascii?Q?1hd9UKBUJgj+Y4mXhIE6tyXYX+S7oAbOSwNl5qRUuO6ROUU9rrQE426Q0mYD?= =?us-ascii?Q?u8AKTzi7jHq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rmW9ntGqis?= =?us-ascii?Q?KHdYkgklkqpO2pg+Q6pWQK2Ysw2P06pFzkYWLBjnwPcmZ8SnbMWH7wTf1hIT?= =?us-ascii?Q?j3LDePa1t7yI7sUBSJXokkwiQjjkybGUa1N17+0xusnJ8GLr3MQHjHyzLAFT?= =?us-ascii?Q?6q3jyQZx47lpIeExUEP69+qCGDKvVd+m5X73NpO5NW8ZRUOfuc3wym6o2rc2?= =?us-ascii?Q?psUcoq7jKRvfkxWlugpJnSZtXhhlKfMkuDjOP5DLQE85zdHiN6EQ/bOw3edZ?= =?us-ascii?Q?/Q=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: 35d6fbab-b919-404e-63fb-08db998931a8 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Aug 2023 10:04:32.5230 (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: G5KAtasfJIWYEIqF0jMS+J+9gJYuw0AUfYeGHyfX9EohRH1S13Sg7jFF3cfORoiMAGECSM7MOzeYdeEatJ5vOGpo9/D+sxcD8Kir10RE21A6GqH9MT9ip6DCfH1ZiIuD 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:36 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 1/4][next] i40e: Replace one-element ar= ray with flex-array member in struct i40e_package_header > > One-element and zero-length arrays are deprecated. So, replace one-elemen= t array in struct i40e_package_header with flexible-array member. >=20 > The `+ sizeof(u32)` adjustments ensure that there are no differences in b= inary output. > > Link: https://github.com/KSPP/linux/issues/335 > Signed-off-by: Gustavo A. R. Silva > --- > drivers/net/ethernet/intel/i40e/i40e_ddp.c | 4 ++-- drivers/net/ethern= et/intel/i40e/i40e_type.h | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > Tested-by: Pucha Himasekhar Reddy (A Co= ntingent worker at Intel)